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 2020/09/09 15:29:33 UTC

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

commit 4364353e862b583c3739b99307faadbf6804d7cf
Author: Maxim Solodovnik <so...@gmail.com>
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);