Skip to content
Snippets Groups Projects
Unverified Commit cec21cc2 authored by Gabriel Engel's avatar Gabriel Engel
Browse files

Merge branch 'baierjan-patch-1' into develop

parents 1603531b b33ef569
No related branches found
No related tags found
No related merge requests found
......@@ -110,6 +110,8 @@ Accounts.registerLoginHandler(function(loginRequest) {
if (username) {
newUser.username = username;
}
} else if (loginResult.profile.username) {
newUser.username = loginResult.profile.username;
}
var userId = Accounts.insertUserDoc({}, newUser);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment