Skip to content
This repository was archived by the owner on Jul 6, 2020. It is now read-only.
This repository was archived by the owner on Jul 6, 2020. It is now read-only.

Use of Route Guards as opposed to in-component Redirects #271

@jayaike

Description

@jayaike

I'm submitting a

(Check one with "x" from given options)

  • Bug report
  • Feature request

Current behavior

The project allows users to navigate to protected routes and then Redirects to an appropriate route based on authentication status.
This method causes this
bandicam-2020-01-15-07-01-01-050_Trim

As we can see it shows the user the "protected route before redirect"

Expected behavior

The project should make use of Route Guards using CanActivate. This way we will follow the DRY principle of coding

I have started working on this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions