blob: 5652af4fe9100e296cd76523f5d53e0d1adbcd2d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://unpkg.com/purecss@2.0.3/build/pure-min.css"
integrity="sha384-cg6SkqEOCV1NbJoCu11+bm0NvBRc8IYLRGXkmNrqUBfTjmMYwNKPWBTIKyw9mHNJ"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="style.css" type="text/css" media="all" />
<title>Auth</title>
</head>
<body>
<div class="pure-menu pure-menu-horizontal">
<a href="/" class="pure-menu-item pure-menu-link">Home</a>
<a href="/auth/api/logout" class="pure-menu-item pure-menu-link">Logout</a>
</div>
<form class="pure-form pure-form-stacked" id="change-form" action="api/password" method="POST">
<fieldset>
<legend>Login</legend>
<label for="old-password">Altes Passwort</label>
<input name="oldPassword" type="password" id="old-password" placeholder="Passwort" required />
<label for="password">Neues Passwort</label>
<input
name="newPassword"
type="password"
id="password"
placeholder="Neues Passwort"
minlength="8"
required
/>
<label for="new-password">Neues Passwort (wiederholt)</label>
<input
name="newPasswordRep"
type="password"
id="new-password"
placeholder="Neues Passwort"
minlength="8"
required
/>
<button type="submit" class="pure-button pure-button-primary">Passwort ändern</button>
</fieldset>
</form>
<script src="script.js"></script>
</body>
</html>
|