- Implement change password on first login
- Implement admin can reset other users' password
This commit is contained in:
@@ -7,6 +7,7 @@ import {AuthGuard} from './auth.guard';
|
||||
import {SettingsComponent} from './core/component/settings/settings.component';
|
||||
import {PdfViewerComponent} from './book/components/pdf-viewer/pdf-viewer.component';
|
||||
import {EpubViewerComponent} from './book/components/epub-viewer/component/epub-viewer.component';
|
||||
import {ChangePasswordComponent} from './core/component/change-password/change-password.component';
|
||||
|
||||
export const routes: Routes = [
|
||||
{
|
||||
@@ -36,5 +37,6 @@ export const routes: Routes = [
|
||||
canActivate: [AuthGuard]
|
||||
},
|
||||
{path: 'login', component: LoginComponent},
|
||||
{path: 'change-password', component: ChangePasswordComponent},
|
||||
{path: '**', redirectTo: 'login', pathMatch: 'full'}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user