1
0
Fork 0
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:
Kayou 2019-02-09 14:36:32 +01:00 committed by GitHub
parent 4b5a204492
commit e6e909fc95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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