Start ROTS for user login tests as well as creation tests

This commit is contained in:
Tom Hughes 2011-05-21 13:35:15 +01:00
parent 3f81257fc5
commit 2a635ab28f
4 changed files with 35 additions and 26 deletions

View file

@ -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:
#