✨ Implemented admin authentication
This commit is contained in:
24
templates/login.html
Normal file
24
templates/login.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>ShareDAV Login</title>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<form method="post">
|
||||
<label>
|
||||
Username: <input name="username"/>
|
||||
</label>
|
||||
<label>
|
||||
Password: <input type="password" name="password">
|
||||
</label>
|
||||
<div>
|
||||
Beware! You need to have cookies enabled for the login to work.<br/>
|
||||
The cookie will be used solely for keeping the session alive.
|
||||
</div>
|
||||
<input type="submit" value="Login"/>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user