locked
Force user to change password at next login RRS feed

  • Question

  • User-1907931422 posted

    I want to force user to change password at next login. Basically I want to add a checkbox, if I click it. Then it should have such a function.

     

    Friday, January 6, 2012 9:35 AM

Answers

  • User795332263 posted

    You can have a flag in your database like "isfirsttime" set to true and if the next time they login and you see this flag set to true redirect to a changepasssword.aspx, at this time you should update the flag to false.

    Thanks

    Arun

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, January 6, 2012 9:52 AM

All replies

  • User795332263 posted

    You can have a flag in your database like "isfirsttime" set to true and if the next time they login and you see this flag set to true redirect to a changepasssword.aspx, at this time you should update the flag to false.

    Thanks

    Arun

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, January 6, 2012 9:52 AM
  • User323004166 posted

    you can add a coulmn against user table and when they tick box update column value to true.

    when user login if new column value true redirect them to change password page and once changed password set that falg back to false

     

    Friday, January 6, 2012 12:29 PM