Merge pull request #2991 from raphendyr/username_change_disablation
Add option to disable username changing
This commit is contained in:
commit
e049e18780
5 changed files with 34 additions and 25 deletions
|
@ -57,6 +57,7 @@ Settings.gitlab['support_email'] ||= Settings.gitlab.email_from
|
|||
Settings.gitlab['url'] ||= Settings.send(:build_gitlab_url)
|
||||
Settings.gitlab['user'] ||= 'git'
|
||||
Settings.gitlab['signup_enabled'] ||= false
|
||||
Settings.gitlab['username_changing_enabled'] = true if Settings.gitlab['username_changing_enabled'].nil?
|
||||
|
||||
#
|
||||
# Gravatar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue