leora
leora

Reputation: 196499

using asp.net sqlmembership how do i send a user their password if password format is set to hashed

setting type to hashed seems to not allow enablePasswordRetrieval. what if a user forgot their password?

Upvotes: 1

Views: 334

Answers (2)

JoeGeeky
JoeGeeky

Reputation: 3796

Hashes are not-reversible to their native form, which is why password recovery is not possible. If this is a requirement you will need to use encryption instead. To do this, change passwordFormat="Hashed" to passwordFormat="Encrypted"

Upvotes: 1

Henk Holterman
Henk Holterman

Reputation: 273244

When a hashed password is lost, the only option is to create a new one. Either by the user or by an administrator(-tool).

A common practice is to send a link to a secured page where the user can enter a new password.

Upvotes: 5

Related Questions