Skip to content

Commit

Permalink
Merge branch 'branch-for-atlascine' of https://github.com/GCRC/nunaliit
Browse files Browse the repository at this point in the history
… into branch-for-atlascine
  • Loading branch information
alexgao1 committed Mar 9, 2023
2 parents 9f7fead + f22f248 commit 6876f7f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ var UserManagementApplication = $n2.Class({
this.userDb = $n2.couch.getUserDb();

this.authService = config.directory.authService;

this.atlasName = config.atlasDbName;

$n2.log('config',config);

Expand Down Expand Up @@ -279,6 +281,7 @@ var UserManagementApplication = $n2.Class({
_this.userDb.createUser({
name: userName
,password: pw
,roles: [`${_this.atlasName}_layer_${userName}`]
,display: userName
,onSuccess: function() {
loginUser(userName, pw);
Expand Down

0 comments on commit 6876f7f

Please sign in to comment.