You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2019/01/15 05:49:00 UTC
[openmeetings] branch master updated: [OPENMEETINGS-1979] userId
mapping is fixed
This is an automated email from the ASF dual-hosted git repository.
solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/master by this push:
new f2d349d [OPENMEETINGS-1979] userId mapping is fixed
f2d349d is described below
commit f2d349d17218bd1a794b43bfe7baa50d3cfb3ee6
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Tue Jan 15 12:48:49 2019 +0700
[OPENMEETINGS-1979] userId mapping is fixed
---
.../java/org/apache/openmeetings/installation/ImportInitvalues.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openmeetings-install/src/main/java/org/apache/openmeetings/installation/ImportInitvalues.java b/openmeetings-install/src/main/java/org/apache/openmeetings/installation/ImportInitvalues.java
index 0e19001..c26eff0 100644
--- a/openmeetings-install/src/main/java/org/apache/openmeetings/installation/ImportInitvalues.java
+++ b/openmeetings-install/src/main/java/org/apache/openmeetings/installation/ImportInitvalues.java
@@ -533,7 +533,7 @@ public class ImportInitvalues {
.setRequestTokenAttributes("client_id={$client_id}&client_secret={$client_secret}&code={$code}&redirect_uri={$redirect_uri}")
.setRequestInfoUrl("https://api.vk.com/method/users.get?&v=5.92&user_ids={$user_id}&access_token={$access_token}&fields=id,first_name,last_name,email&name_case=nom")
.setRequestInfoMethod(RequestInfoMethod.GET)
- .addMapping(PARAM_LOGIN, "uid")
+ .addMapping(PARAM_LOGIN, "id")
.addMapping(PARAM_EMAIL, EMAIL_PARAM)
.addMapping(PARAM_FNAME, FNAME_PARAM)
.addMapping(PARAM_LNAME, LNAME_PARAM), null);