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
Hi everyone
We already have the convenience method for the logout link:
users/src/View/Helper/UserHelper.php
Line 109 in 85f055d
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