change password on first login

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

when a user requests a password reset, a email is sent to them with the new
password and the URL for the login page. When the login for the first time
how can I force them to go to my change password screen?
 
Hi Tom,

How about writing to the Comment field when the password is reset and then
testing for that marker when they log in again?

dim mbr as MembershipUser
mbr = membership.GetUser("JackieReeve")
mbr.Comment="MustChangePassword"


'---------------------

if mbr.Comment="MustChangePassword" then
label1.Text="You need to change your password"
end if
Ken
Microsoft MVP [ASP.NET]
 
I'm not using the MemberShip API or .NET 2.0 I'm using .NET 1.0 right now
for this app.
Ken Cox said:
Hi Tom,

How about writing to the Comment field when the password is reset and then
testing for that marker when they log in again?

dim mbr as MembershipUser
mbr = membership.GetUser("JackieReeve")
mbr.Comment="MustChangePassword"


'---------------------

if mbr.Comment="MustChangePassword" then
label1.Text="You need to change your password"
end if
Ken
Microsoft MVP [ASP.NET]

Tom said:
when a user requests a password reset, a email is sent to them with the
new
password and the URL for the login page. When the login for the first
time
how can I force them to go to my change password screen?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top