Skip to content

UserHelper: login link? #1101

Description

@miftygusein

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions