Fix redirect when accessing a deep link when unauthenticated

This commit is contained in:
Oliver Gorwits
2014-02-08 21:15:50 +00:00
parent 44e35fd316
commit 4c39387477
3 changed files with 10 additions and 6 deletions

View File

@@ -42,8 +42,8 @@
<input placeholder="Password" class="span2" name="password" type="password"/>
<button type="submit" class="btn btn-info">Log In</button>
</div>
[% IF vars.return_url %]
<input type="hidden" name="path" value="[% vars.return_url | html_entity %]"/>
[% IF params.return_url %]
<input type="hidden" name="return_url" value="[% params.return_url | html_entity %]"/>
[% END %]
</form>
[% ELSE %]