-1
server/handle_account_totp_enroll.go
-1
server/handle_account_totp_enroll.go
+4
server/static/style.css
+4
server/static/style.css
+3
-1
server/templates/totp_enroll.html
+3
-1
server/templates/totp_enroll.html
···
19
19
<div class="alert alert-danger margin-bottom-xs">
20
20
<p>{{ index .flashes.errors 0 }}</p>
21
21
</div>
22
-
<img src="{{ .Image }}" class="totp-image" />
23
22
{{ end }}
23
+
<div class="center">
24
+
<img src="{{ .Image }}" class="totp-image" />
25
+
</div>
24
26
<form action="/account/totp-enroll" method="post">
25
27
<input name="code" id="code" placeholder="Code" />
26
28
<button class="primary" type="submit" value="Login">Enroll</button>