AgileVentures / AgileVentures/WebsiteOne-FE
Redirect user to Login page if not logged and attempts to create new project
- Linguagem predominante
- JavaScript
- Estrelas
- 3
- Forks
- 22
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
When a user who is not logged in attempts to create a new project, by accessing the `/projects/new` route, they should be redirected to the login page and asked to login before they can proceed. Once they login they should be redirected to the create new project page where they can proceed to create a project.
## Expected Behavior
* User who is not logged in is redirected to the login page if they access `/projects/new` route and asked to login. They are redirected to create new project form once they log in.
* Logged in user is able to access the create new project page and proceed to create a project
## Current Behavior
* All the users(whether logged in or not) are able to access the create new projects page.
* The users who are not logged in are however not able to create a new project due to authentication failure by the api and no error message is displayed on the UI to signal this.
* Logged in users are able to successfuly create new projects
## Possible Solution
* Redirect users to the login page if they are not logged in and want to create a new project
## Your Environment
* Version used:
* Environment name and version (e.g. Chrome 39):
* Operating System and version (desktop or mobile):
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.