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

UserHelper: login link? #1101

Open
mehov opened this issue Oct 26, 2024 · 0 comments
Open

UserHelper: login link? #1101

mehov opened this issue Oct 26, 2024 · 0 comments

Comments

@mehov
Copy link

mehov commented Oct 26, 2024

Hi everyone

We already have the convenience method for the logout link:

public function logout(?string $message = null, array $options = []): string

Does it make sense to add a similar method for the login link?

I'm looking to have a login method in my menu. For now, I can just hardcode <a href="/login">Login</a>, but that's probably not the best way to do it. One reason I can think of is that links generated by the plugin can include the current URL as redirect URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants