Fix double encoding

This commit is contained in:
calzoneman 2015-02-24 10:40:07 -06:00
parent afc0ea0a58
commit 0dacf1019d
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ mixin navloginform(redirect)
.visible-lg
form#loginform.navbar-form.navbar-right(action="#{loginDomain}/login", method="post")
input(type="hidden", name="_csrf", value=csrfToken)
input(type="hidden", name="dest", value=encodeURIComponent(redirect))
input(type="hidden", name="dest", value=redirect)
.form-group
input#username.form-control(type="text", name="name", placeholder="Username")
.form-group