auth0-blog / angular2-authentication-sample

This is a sample that shows how to add authentication to an Angular 2 (ng2) app
MIT License
966 stars 334 forks source link

url link update but component not open until page refresh in angular 6 #86

Open murtazams opened 5 years ago

murtazams commented 5 years ago

in my project when I logout my profile then got to login page but when I clicked on forgot password component then url link update but component not open until page refresh plz help my code is. <a class="forgot-password" [routerLink]="'/auth/forgot-password'"> Forgot Password?

const routes = [ { path: 'forgot-password', component: ForgotPasswordComponent } ];

@NgModule({ imports: [ RouterModule.forChild(routes),