Redirect to previous page after login
This commit is contained in:
parent
d55dc53ade
commit
38a37137d0
3 changed files with 9 additions and 2 deletions
|
|
@ -14,6 +14,7 @@
|
|||
<input type="password" name="password" class="form-control">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary"><%= _("Login") %></button>
|
||||
<input type="hidden" name="r" value="<%= @params[:r] %>">
|
||||
<input type="hidden" name="timezone" value="UTC">
|
||||
</form>
|
||||
<p><a href="/signup"><%= _("Create account") %></a></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue