mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
No more sudo in install script
This commit is contained in:
parent
4b5a204492
commit
e6e909fc95
1 changed files with 2 additions and 2 deletions
|
@ -111,13 +111,13 @@ newuser.admin = true
|
|||
newuser.confirmed_at = Time.now
|
||||
newuser.confirmation_token = nil
|
||||
newuser.save
|
||||
ApplicationSetting.last.update_attributes(password_authentication_enabled_for_web: $use_web_account, signup_enabled: $use_web_account)" | sudo gitlab-rails console
|
||||
ApplicationSetting.last.update_attributes(password_authentication_enabled_for_web: $use_web_account, signup_enabled: $use_web_account)" | gitlab-rails console
|
||||
|
||||
#=================================================
|
||||
# RESTART TO TAKE INTO ACCOUNT CHANGES
|
||||
#=================================================
|
||||
|
||||
sudo gitlab-ctl reconfigure
|
||||
gitlab-ctl reconfigure
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
Loading…
Reference in a new issue