-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReturnUrl in passwordless.login.js #51
Labels
enhancement
New feature or request
Comments
@nicowitteman Thanks for the feedback! Would you like to do a PR? If not I will update Greetings Damien |
I will leave it to you after you have reviewed the suggestions, if you don't mind. |
I prepared a PR, waiting for merge of #56 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In passwordless.login.js, instead of setting window.location.href = "/index", I suggest to redirect to the ReturnUrl like so:
using these helper functions:
and
combined with this line added to Login.cshtml:
<input type="hidden" id="BasePath" name="BasePath" value="@Url.Content("~")">
The text was updated successfully, but these errors were encountered: