You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there! To properly display the link, you can use HTML decoding for the ampersand symbol. Try using '@Html.Raw(HttpUtility.HtmlDecode(Model.callbackUrl))' in your view to decode the Website ampersand symbol and display the link correctly.
Hi, guys!
I try to sent recovery password link with 2 params, code and userId.
So callbackUrl when ForgotPasswordEmail is initialize look like this:
https://sitename/Account/ResetPassword?userId=blablabla&code=blabla.
In view i try to put it like:
@Model.callbackURL
or
<a href='@Model.callbackUrl'>
But when I open email in the client the link is:
https://sitename/Account/ResetPassword?userId=blablabla&code=blabla.
the symbol
&
is not recognizing like&
and in action I have just one not nullable param (userId).How I should put the link?
The text was updated successfully, but these errors were encountered: