summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-10 19:34:10 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-10 19:34:10 +0100
commit558585895f581c28289ce561a5453c2d13bd61e9 (patch)
tree4f0617cca08b5c5f3808ec79b7b359514f8ba9d9 /templates
parent5970a5a350890340821a5418f3aa4607e05f49cb (diff)
oops
Diffstat (limited to 'templates')
-rw-r--r--templates/login.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/login.html.ep b/templates/login.html.ep
index 4c5696d..8c9ad7d 100644
--- a/templates/login.html.ep
+++ b/templates/login.html.ep
@@ -77,7 +77,7 @@
%= form_for '/login' => (class => 'col s12', method => 'POST') => begin
%= csrf_field
% if (stash('redirect_to')) {
- %= hidden_field 'redirect_to' => $redirect_to
+ %= hidden_field 'redirect_to' => stash('redirect_to')
% }
<div class="row">
<div class="input-field col s12">