From: Paul Hänsch Date: Wed, 22 Sep 2021 13:43:31 +0000 (+0200) Subject: automatically swap in confirmation dialog for registration X-Git-Url: https://git.plutz.net/?p=cgilite;a=commitdiff_plain;h=6bfa64b084ea028f9078f679a4a77ffc57e02361 automatically swap in confirmation dialog for registration --- diff --git a/users.sh b/users.sh index 33f0062..1959e9d 100755 --- a/users.sh +++ b/users.sh @@ -259,7 +259,9 @@ user_init esac w_user_register(){ - if [ "$USER_REGISTRATION" != true ]; then + if [ "$(GET user_confirm)" ]; then + w_user_confirm + elif [ "$USER_REGISTRATION" != true ]; then cat <<-EOF [div #user_register .disabled User Registration is disabled.