1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlab_ynh.git synced 2024-09-03 18:36:35 +02:00

update_attributes is now update

This commit is contained in:
Kay0u 2021-09-15 16:35:23 +02:00
parent 8a0e18e37d
commit c090482eb6
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -215,7 +215,7 @@ 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)" | gitlab-rails console
ApplicationSetting.last.update(password_authentication_enabled_for_web: $use_web_account, signup_enabled: $use_web_account)" | gitlab-rails console
#=================================================
# RECONFIGURE TO TAKE INTO ACCOUNT CHANGES