summaryrefslogtreecommitdiff
path: root/system/admin/admin.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-02 11:31:20 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-02 11:31:20 -0800
commit6dfd02c84f125a6defe082d31a6f20672979f4d3 (patch)
tree4392c161569a8329532c8f967c0e0620ff80c6c2 /system/admin/admin.go
parent2ccb8bdbba2cd50d7a310842978a7add424015dc (diff)
adding enctype for consistency in forms
Diffstat (limited to 'system/admin/admin.go')
-rw-r--r--system/admin/admin.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/admin/admin.go b/system/admin/admin.go
index 248234f..fdd3e6c 100644
--- a/system/admin/admin.go
+++ b/system/admin/admin.go
@@ -259,6 +259,7 @@ var forgotPasswordHTML = `
<label for="email" class="active">Email</label>
</div>
+ <a href="/admin/recover/key">Already have a recovery key?</a>
<button class="btn waves-effect waves-light right">Send Recovery Email</button>
</form>
</div>
@@ -304,7 +305,7 @@ var recoveryKeyHTML = `
<div class="card-content">
<div class="card-title">Account Recovery</div>
<blockquote>Please check for your recovery key inside an email sent to the address you provided. Check your spam folder in case the message was flagged.</blockquote>
- <form method="post" action="/admin/recover/key" class="row">
+ <form method="post" action="/admin/recover/key" class="row" enctype="multipart/form-data">
<div class="input-field col s12">
<input placeholder="Enter your recovery key" class="validate required" type="text" id="key" name="key"/>
<label for="key" class="active">Recovery Key</label>