summaryrefslogtreecommitdiff
path: root/system/admin/admin.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-02 09:58:16 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-02 09:58:16 -0800
commitd9a10d4b2bf93f31ff87dde51af8ed6fe6fc84c0 (patch)
tree1eb7f43e0f7b2e7b5b725de3848388607ecf31b5 /system/admin/admin.go
parent8904e31fe7613527f8f6bfe4d521dd01593a3035 (diff)
setting form enctype to correct ponzu requirement
Diffstat (limited to 'system/admin/admin.go')
-rw-r--r--system/admin/admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/admin.go b/system/admin/admin.go
index cc06361..248234f 100644
--- a/system/admin/admin.go
+++ b/system/admin/admin.go
@@ -253,7 +253,7 @@ var forgotPasswordHTML = `
<div class="card-content">
<div class="card-title">Account Recovery</div>
<blockquote>Please enter the email for your account and a recovery message will be sent to you at this address. Check your spam folder in case the message was flagged.</blockquote>
- <form method="post" action="/admin/recover" class="row">
+ <form method="post" action="/admin/recover" class="row" enctype="multipart/form-data">
<div class="input-field col s12">
<input placeholder="Enter your email address e.g. you@example.com" class="validate required" type="email" id="email" name="email"/>
<label for="email" class="active">Email</label>