andrewdavey / andrewdavey/postal

How to add external link with params?

Offen
#161 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
534
Forks
164
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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
``

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.