Start ROTS for user login tests as well as creation tests
This commit is contained in:
parent
3f81257fc5
commit
2a635ab28f
4 changed files with 35 additions and 26 deletions
|
@ -604,7 +604,7 @@ private
|
|||
session[:user] = user.id
|
||||
session_expires_after 1.month if session[:remember_me]
|
||||
|
||||
target = params[:referer] || url_for(:controller => :site, :action => :index)
|
||||
target = session[:referer] || url_for(:controller => :site, :action => :index)
|
||||
|
||||
# The user is logged in, so decide where to send them:
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue