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 4364353  [OPENMEETINGS-2427] test should be fixed
4364353 is described below

commit 4364353e862b583c3739b99307faadbf6804d7cf
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Wed Sep 9 22:29:20 2020 +0700

    [OPENMEETINGS-2427] test should be fixed
---
 .../src/main/java/org/apache/openmeetings/db/dto/user/OAuthUser.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/user/OAuthUser.java
 
b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/user/OAuthUser.java
index be6b07f..ed055b8 100644
--- 
a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/user/OAuthUser.java
+++ 
b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/user/OAuthUser.java
@@ -76,7 +76,7 @@ public class OAuthUser implements Serializable {
        public OAuthUser(Map<String, String> umap) {
                Map<String, String> data = new HashMap<>();
                data.put(PARAM_LOGIN, umap.get(PARAM_LOGIN));
-               data.put(PARAM_EMAIL, umap.get(PARAM_EMAIL));
+               data.put(PARAM_EMAIL, umap.get("email"));
                data.put(PARAM_FNAME, umap.get(PARAM_FNAME));
                data.put(PARAM_LNAME, umap.get(PARAM_LNAME));
                userData = Collections.unmodifiableMap(data);

Reply via email to