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

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

Open
sgobotta opened this issue Oct 13, 2019 · 0 comments
Labels
bug Something isn't working enhancement New feature or request To do

Comments

@sgobotta
Copy link
Member

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

@sgobotta sgobotta added bug Something isn't working To do labels Oct 13, 2019
@sgobotta sgobotta added this to To do in Current Tasks via automation Oct 13, 2019
@sgobotta sgobotta added the enhancement New feature or request label Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request To do
Projects
Current Tasks
  
To do
Development

No branches or pull requests

1 participant