0
Answer

How to reduce length of password reset link MVC5

Photo of Mohseen Jamal

Mohseen Jamal

10y
1.6k
1
I am using this method to generate a password reset link. Everything works great but the callback URL has a huge token. I was asked if there was a way to reduce the length of URL. 
As this is a framework generated code, i could not do much. 
You can find this implementation in any MVC 5 template by default.

await UserManager.GeneratePasswordResetTokenAsync() 


Please share your opinions if there is any way to achieve this using still the same method.


Thanks in advance for your time and effort.

Answers (0)