- Implement change password on first login

- Implement admin can reset other users' password
This commit is contained in:
aditya.chandel
2025-03-12 14:11:09 -06:00
parent 1dcf5c533a
commit a8c9d1324c
24 changed files with 428 additions and 86 deletions
+2
View File
@@ -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'}
];