summaryrefslogtreecommitdiff
path: root/app/Template/auth
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-16 22:22:33 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-16 22:22:33 -0400
commit493c7c2c74ffdbe3ceb422d331b73e653ec0b618 (patch)
treebaa8451934e3b1f35a525a0665b12a13cf66eccd /app/Template/auth
parente0d4877126acc1e7189e6e67e1f1ca24e1dd5f02 (diff)
Store redirect login url in session instead of using url parameter
Diffstat (limited to 'app/Template/auth')
-rw-r--r--app/Template/auth/index.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Template/auth/index.php b/app/Template/auth/index.php
index 6f4d93cc..ca303df9 100644
--- a/app/Template/auth/index.php
+++ b/app/Template/auth/index.php
@@ -5,7 +5,7 @@
<?php endif ?>
<?php if (! HIDE_LOGIN_FORM): ?>
- <form method="post" action="<?= $this->url->href('auth', 'check', array('redirect_query' => $redirect_query)) ?>">
+ <form method="post" action="<?= $this->url->href('auth', 'check') ?>">
<?= $this->form->csrf() ?>
@@ -17,8 +17,6 @@
<?= $this->form->checkbox('remember_me', t('Remember Me'), 1, true) ?><br/>
-
-
<div class="form-actions">
<input type="submit" value="<?= t('Sign in') ?>" class="btn btn-blue"/>
</div>