hi to all,
Here i'm doing register module i want to change password for every 60 days.After 6 days user cannot be login.if the user change the password then only the user will be login.how can i do in mvc5.So kindle help for me.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Anand ThakurPosted Aug 6, 2014, 8:32 AM
keep one field in database login table(or you may have different name) say "updatedOn", when user update his/her password, update this filed with current date.
when user login, check this date is less than 60 days from current date otherwise display the password change screen.