Revision 46792
Added by Argiro Kokogiannaki about 7 years ago
person-routing.module.ts | ||
---|---|---|
2 | 2 |
import { RouterModule } from '@angular/router'; |
3 | 3 |
|
4 | 4 |
import { PersonComponent } from './person.component'; |
5 |
import {FreeGuard} from'../../login/freeGuard.guard'; |
|
5 | 6 |
|
6 | 7 |
@NgModule({ |
7 | 8 |
imports: [ |
8 | 9 |
RouterModule.forChild([ |
9 |
{ path: '', component: PersonComponent } |
|
10 |
{ path: '', component: PersonComponent, canActivate: [FreeGuard] }
|
|
10 | 11 |
]) |
11 | 12 |
] |
12 | 13 |
}) |
Also available in: Unified diff
fix dropdown change in orcid tab of claim| add free guard in every route with no authentication required | add '*' route in server in order to show erro page not json-no contnet| Claims: get user mail from Session -jwt,tidy up display claims component (myclaims, claims)| remove folder src/app/home | LOgin: change login method to post, redirect after login/logout using queryparams of the current page, add Session helper class