Reverted all previous Oauth2 filepath code, thinking is there some better way.

Thanks to xet7 !

Related https://github.com/wekan/wekan/pull/5619,
related https://github.com/wekan/wekan/pull/5616
This commit is contained in:
Lauri Ojansivu 2024-12-13 01:51:42 +02:00
parent 83d22c9ebf
commit c936d83b38
3 changed files with 309 additions and 238 deletions

View file

@ -661,16 +661,6 @@ echo -e "\n"
echo -e "Wait spinner to use."
echo -e "\t$ snap set $SNAP_NAME wait-spinner='Bounce'"
echo -e "\n"
echo -e "Oauth2 email login restriction local filepath e.g. /root/var/path/to/file.txt"
echo -e "Path to local file containing known emails to be checked on OIDC login"
echo -e "\t$ snap set $SNAP_NAME OAUTH2_ALLOWEDEMAILS_FILEPATH='/root/var/path/to/file.txt'"
echo -e "\t-Leave blank to disable."
echo -e "\n"
echo -e "Oauth2 email login restriction toggle on/off"
echo -e "To enable and disable email verification against a file containing known emails on OIDC login"
echo -e "\t$ snap set $SNAP_NAME OAUTH2_CHECKEMAILS='true'"
echo -e "\t-To disable, set to false."
echo -e "\n"
# parse config file for supported settings keys
echo -e "wekan supports settings keys"
echo -e "values can be changed by calling\n$ snap set $SNAP_NAME <key name>='<key value>'"