-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting Initial super user #37
base: master
Are you sure you want to change the base?
Conversation
Changes to add initial super users which are set at api-umbrella.yml
Documentation for setting initial super users
Please apply one of the following labels to the PR: 'patch', 'minor', 'major'. |
@@ -150,6 +156,15 @@ local function seed_initial_superusers() | |||
admin["authentication_token"] = random_token(40) | |||
end | |||
admin["updated_at"] = nowMongoDate | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The log is mis-leading and should either be removed or made more concrete. The comment in l160 is also superfluous in my opinion, since thats information present in the git-log
|
||
-- Changes added by FIWARE Foundation (Chandra) for setting initial super users - Start | ||
ngx.log(ngx.INFO, "Chandra user name is email -- Printing the value in if->notAdmin loop : ", emailUserName) | ||
if emailUserName then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case username and email are configured differently, wouldn't it be better to throw an error instead of a silent replace?
No description provided.