This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch 4.0.x
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/4.0.x by this push:
     new 426d917  [OPENMEETINGS-1979] userId mapping is fixed
426d917 is described below

commit 426d9179cf086e20ba75f54fb3dd095f0cce9549
Author: Maxim Solodovnik <solomax...@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 d415768..6fbe173 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
@@ -527,7 +527,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);

Reply via email to