Skip to content
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

Allow binding RememberMe settings during login #15429

Closed
wants to merge 1 commit into from

Conversation

MikeAlhayek
Copy link
Member

When we redirect the user to the login page, it is helpful to pass the "Remember Me" settings in the URL.

image

@hishamco
Copy link
Member

hishamco commented Mar 1, 2024

I don't think it's a best practice. all the login form data should be filled by the user

@MikeAlhayek
Copy link
Member Author

Why not? There is no difference between this and any form. In this case, we just allow other scenarios to carry the remember me from previous state

@hishamco
Copy link
Member

hishamco commented Mar 1, 2024

If we agree on this, someone will come after a while, then will ask to pass the username too :)

@Skrypt
Copy link
Contributor

Skrypt commented Mar 1, 2024

I agree with @hishamco on this one. It should be a user action, else you can also create a custom login razor view that will do this too. But normally, we shouldn't.

@hishamco
Copy link
Member

Can we close this?

@hishamco hishamco deleted the ma/bind-remember-me branch March 16, 2024 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants