Feature Requests: Browse | Submit New | Admin

[#8283] Force users to change their password after having logged in with retrieved passwrod.

Date:
2007-01-29 11:45
Priority:
3
Submitted By:
Daniel Weinand (dweinand)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Force users to change their password after having logged in with retrieved passwrod.

Detailed description
ActiveRbac? should force the user to change his password immediately after having logged in with a retrieved password.


09/07/06 14:11:44: Modified by manuel

The following snippet should help:

    # If the user has retrieved his password then force him to change it.
    if current_user.state == User.states['retrieved_password'] then
      redirect_to :controller => '/active_rbac/my_account', :action =>    'change_password'
      return
    end

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item