G
Guest
I have a PasswordRecovery web control as part of my login functionality that
I have successfully tested in an application I'm building. I was asked to
migrate some historical user data into the aspnet_application_services tables
for this app, so I thought the best thing to do would be to just migrate all
the user data with the exception of the passwords, and add text to the
membership comment that read 'EncryptMe' or something like that. Then just
write a method that would check the comments, and if it said the same thing
(encryptme) it would reset the password using the membership object
ResetPassword method. Ok so all this works like a charm, until I try to do
the password recovery as if I was one of these historical users logging in
and trying to find out my new password that was generated. The email arrives
without a hitch, except...only HALF the password shows up. I confirmed this
because I output the newly generated passwords when I run the reset password
method, and then compared it to the one in the email. The last example
looked like this:
Generated password: BvCj@y-b88KO{U
Emailed password: 88KO{U
I'm stumped. Any ideas? I did notice that there's no longer a password
salt in the membership database, could this be the problem? Any idea how to
deal with it if it is?
Help!!
TIA,
Morgan
Web Developer
Portland, Oregon
I have successfully tested in an application I'm building. I was asked to
migrate some historical user data into the aspnet_application_services tables
for this app, so I thought the best thing to do would be to just migrate all
the user data with the exception of the passwords, and add text to the
membership comment that read 'EncryptMe' or something like that. Then just
write a method that would check the comments, and if it said the same thing
(encryptme) it would reset the password using the membership object
ResetPassword method. Ok so all this works like a charm, until I try to do
the password recovery as if I was one of these historical users logging in
and trying to find out my new password that was generated. The email arrives
without a hitch, except...only HALF the password shows up. I confirmed this
because I output the newly generated passwords when I run the reset password
method, and then compared it to the one in the email. The last example
looked like this:
Generated password: BvCj@y-b88KO{U
Emailed password: 88KO{U
I'm stumped. Any ideas? I did notice that there's no longer a password
salt in the membership database, could this be the problem? Any idea how to
deal with it if it is?
Help!!
TIA,
Morgan
Web Developer
Portland, Oregon