1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/workout-tracker_ynh.git synced 2024-09-03 20:36:03 +02:00

inverse logic

This commit is contained in:
Thomas 2024-04-12 08:09:12 +02:00 committed by GitHub
parent 6930f3b18b
commit 7162666ac6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,9 +13,9 @@ jwt_key=$(ynh_string_random --length=45 | base64)
ynh_app_setting_set --app=$app --key=jwt_key --value=$jwt_key ynh_app_setting_set --app=$app --key=jwt_key --value=$jwt_key
if [ $registration == "0" ]; then if [ $registration == "0" ]; then
registration="false"
else
registration="true" registration="true"
else
registration="false"
fi fi