Displaying 1 result from an estimated 1 matches for "generate_filled_in".
2006 Jan 22
0
Problem with change_password action in LoginEngine
...or_messages_for ''user'' %>.
Tracking down the issue, I found that the change_password method
doesn''t retrieve the user object, and the solution is to call the
user? method, from lib/login_engine/authenticated_system.rb, like
this:
def change_password
return if generate_filled_in
if user?
if do_change_password_for(@user)
# since sometimes we''re changing the password from within
another action/template...
#redirect_to :action => params[:back_to] if params[:back_to]
redirect_back_or_default :action => ''chan...