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:
parent
d61999e293
commit
fe6e7bc364
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
set__use_web_account() {
|
set__use_web_account() {
|
||||||
if [ -n "${use_web_account}" ]
|
if [ -n "${use_web_account}" ]
|
||||||
then
|
then
|
||||||
echo "ApplicationSetting.last.update_attributes(password_authentication_enabled_for_web: $use_web_account, signup_enabled: $use_web_account)" | gitlab-rails console
|
echo "ApplicationSetting.last.update(password_authentication_enabled_for_web: $use_web_account, signup_enabled: $use_web_account)" | gitlab-rails console
|
||||||
|
|
||||||
# Update the config of the app
|
# Update the config of the app
|
||||||
ynh_app_setting_set --app=$app --key=use_web_account --value=$use_web_account
|
ynh_app_setting_set --app=$app --key=use_web_account --value=$use_web_account
|
||||||
|
|
Loading…
Add table
Reference in a new issue