Store redirect login url in session instead of using url parameter

This commit is contained in:
Frederic Guillot
2015-07-16 22:22:33 -04:00
parent e0d4877126
commit 493c7c2c74
6 changed files with 20 additions and 9 deletions

View File

@@ -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>