fix function call syntax in abra.sh

This commit is contained in:
marlon 2024-10-31 15:12:06 -04:00
parent 63f5ecd680
commit 742a185d6d

View File

@ -9,21 +9,21 @@ reconfigure() {
}
disable_basic_login() {
run_rails_command('Gitlab::CurrentSettings.update!(password_authentication_enabled_for_web: false)')
run_rails_command 'Gitlab::CurrentSettings.update!(password_authentication_enabled_for_web: false)'
reconfigure()
}
enable_basic_login() {
run_rails_command('Gitlab::CurrentSettings.update!(password_authentication_enabled_for_web: true)')
run_rails_command 'Gitlab::CurrentSettings.update!(password_authentication_enabled_for_web: true)'
reconfigure()
}
disable_signups() {
run_rails_command('Gitlab::CurrentSettings.update!(signup_enabled: false)')
run_rails_command 'Gitlab::CurrentSettings.update!(signup_enabled: false)'
reconfigure()
}
enable_signups() {
run_rails_command('Gitlab::CurrentSettings.update!(signup_enabled: true)')
run_rails_command 'Gitlab::CurrentSettings.update!(signup_enabled: true)'
reconfigure()
}