From 6bfa64b084ea028f9078f679a4a77ffc57e02361 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Wed, 22 Sep 2021 15:43:31 +0200 Subject: [PATCH] automatically swap in confirmation dialog for registration --- users.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- 2.39.2