Fix redirect when accessing a deep link when unauthenticated
This commit is contained in:
@@ -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 %]
|
||||
|
||||
Reference in New Issue
Block a user