Skip to content

As an authenticated user when I navigate to /login I should be redirected to /home #181

@sgobotta

Description

@sgobotta

Is your feature request related to a problem? Please describe.
There's currently a bug where when an authenticated user visits /login, the authLayout component renders as a result of the /login route being bound by the Admin component in the created() lifecycle method, triggering a missing va prop error.

Describe the solution you'd like
Investigate if the va prop should be set during the routes binding or we keep it as a responsibility of the Unauthenticated component to render the provided authLayout with the on the run created va prop.
Despite the choice selected, an authenticated user should not be able to visit the /login route. A redirection must be set in the route hooks module

Metadata

Metadata

Assignees

No one assigned

    Labels

    To dobugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions