Commit 296153a30f6e7ed668c37486c2d805a07d6caa26
1 parent
e3e6d940
Store the originally-requested page for after authentication succeeds.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4239 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
0 deletions
templates/ktcore/login.smarty
| ... | ... | @@ -13,6 +13,7 @@ |
| 13 | 13 | <form action="{$smarty.server.PHP_SELF}" method="POST"> |
| 14 | 14 | <input type="hidden" name="action" value="login" /> |
| 15 | 15 | <input type="hidden" name="cookieverify" value="{$cookietest}" /> |
| 16 | + <input type="hidden" name="redirect" value="{$redirect|escape}" /> | |
| 16 | 17 | <img src="{$rootUrl}/resources/graphics/ktlogo-topbar-right.png" alt="KnowledgeTree DMS" class="logoimage" width="252" height="50"/><br /> |
| 17 | 18 | {if ($errorMessage == null)} |
| 18 | 19 | <p class="descriptiveText">Please enter your details below to login.</p> | ... | ... |