summaryrefslogtreecommitdiff
path: root/app/Templates
diff options
context:
space:
mode:
authorLim Yuen Hoe <yuenhoe@hotmail.com>2014-09-19 01:38:38 +0800
committerLim Yuen Hoe <yuenhoe@hotmail.com>2014-09-19 01:48:45 +0800
commited13a04c4c7906c190c4a02acecb27a77b3bdb2a (patch)
treeaa7eef726548ed7223449a02a149af3b7b7a8c4f /app/Templates
parent7fac9783c6593f89266e6d152faeb2aef09b6dfc (diff)
redirect to original target page after logging in
Diffstat (limited to 'app/Templates')
-rw-r--r--app/Templates/user_login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Templates/user_login.php b/app/Templates/user_login.php
index 9eb4fa17..cf92cd4d 100644
--- a/app/Templates/user_login.php
+++ b/app/Templates/user_login.php
@@ -8,7 +8,7 @@
<p class="alert alert-error"><?= Helper\escape($errors['login']) ?></p>
<?php endif ?>
- <form method="post" action="?controller=user&amp;action=check">
+ <form method="post" action="?controller=user&amp;action=check&amp;redirect_query=<?= urlencode($redirect_query) ?>">
<?= Helper\form_csrf() ?>