diff --git a/_vars b/_vars index 4ad2093..56c3fa2 100644 --- a/_vars +++ b/_vars @@ -8,10 +8,11 @@ interface='' # Timezone for local user tz='UTC' -# Username/email/password (multiple users allowed) -# Must have at least one Username/password -declare -A umail upw +# Username / Email / Password/Hash (multiple users allowed) +# Must have at least one Username and Email with either Password or Hash +declare -A umail upw uhash u='username' umail[$u]='email' upw[$u]='password' +u='username' umail[$u]='email' uhash[$u]='$(caddy hash-password)' # Variables for mailer user='(smtp login)' diff --git a/uploadpage/index.php b/uploadpage/index.php index f21ce09..5881019 100644 --- a/uploadpage/index.php +++ b/uploadpage/index.php @@ -25,7 +25,7 @@ if($authuser!==''){ '); } -
'); + print(''); ?> Target: