This commit is contained in:
Bob Mottram 2017-04-07 15:53:13 +01:00
parent e03a67f1e3
commit 23c49ded06
1 changed files with 3 additions and 3 deletions

View File

@ -134,7 +134,7 @@ function friendica_close_registrations {
--msgbox $"New registrations are now closed" 6 40
}
function friendica_open_registrations {
function friendica_allow_registrations {
sed -i "s|REGISTER_CLOSED|REGISTER_OPEN|g" /var/www/$FRIENDICA_DOMAIN_NAME/htdocs/.htconfig.php
dialog --title $"Friendica Account Registrations" \
--msgbox $"New registrations are permitted" 6 40
@ -151,7 +151,7 @@ function configure_interactive_friendica {
1 $"Set channel directory server" off \
2 $"Renew SSL certificate" off \
3 $"Close new account registrations" off \
4 $"Open new account registrations" off \
4 $"Allow new account registrations" off \
5 $"Back to main menu" on 2> $data
sel=$?
case $sel in
@ -162,7 +162,7 @@ function configure_interactive_friendica {
1) friendica_channel_directory_server;;
2) friendica_renew_cert;;
3) friendica_close_registrations;;
4) friendica_open_registrations;;
4) friendica_allow_registrations;;
5) break;;
esac
done