This commit is contained in:
gitlab.com/pepa65 committed 2022-09-08 17:26:38 +07:00
1 parent 9bf508deaa
commit ccf1d7aee0
2 files changed
+5 -4

No files matched your search

+4 -3
View File
@@ -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)'
+1 -1
View File
@@ -25,7 +25,7 @@ if($authuser!==''){
<td><input class="shiftleft" type="submit" value="Logoff"></td></tr>
</form>');
}
<form action="'.(isset($_SERVER['HTTPS']) ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].'/upload.php" method="post" enctype="multipart/form-data" onsubmit="respond()">');
print('<form action="'.(isset($_SERVER['HTTPS']) ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].'/upload.php" method="post" enctype="multipart/form-data" onsubmit="respond()">');
?>
<tr>
<td>Target:</td>