summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0b43f6b)
This ensures that third party logins, whose callback is processed
by the users controller, go to the right place.
def failed_login(message, username = nil)
flash[:error] = message
def failed_login(message, username = nil)
flash[:error] = message
- redirect_to :action => "new", :referer => session[:referer],
+ redirect_to :controller => "sessions", :action => "new", :referer => session[:referer],
:username => username, :remember_me => session[:remember_me]
session.delete(:remember_me)
:username => username, :remember_me => session[:remember_me]
session.delete(:remember_me)