diff --git a/ui/src/app/account/account.module.ts b/ui/src/app/account/account.module.ts index c626c1d44..59bdfd816 100644 --- a/ui/src/app/account/account.module.ts +++ b/ui/src/app/account/account.module.ts @@ -3,10 +3,11 @@ import { CommonModule } from '@angular/common' import { LoginComponent } from './login/login.component' import { RouterModule } from '@angular/router' import { ReactiveFormsModule } from '@angular/forms' -import { routes } from './account.route' +import { routes } from './account.route'; +import { PasswordResetInitComponent } from './password/password-reset-init.component' @NgModule({ - declarations: [LoginComponent], + declarations: [LoginComponent, PasswordResetInitComponent], imports: [CommonModule, ReactiveFormsModule, RouterModule.forChild(routes)], }) export class AccountModule {} diff --git a/ui/src/app/account/account.route.ts b/ui/src/app/account/account.route.ts index 2ff5186c3..48f4f60fd 100644 --- a/ui/src/app/account/account.route.ts +++ b/ui/src/app/account/account.route.ts @@ -1,9 +1,18 @@ import { Routes } from '@angular/router' import { LoginComponent } from './login/login.component' +import { PasswordResetInitComponent } from './password/password-reset-init.component' export const routes: Routes = [ { path: 'login', component: LoginComponent, }, + { + path: 'reset/request', + component: PasswordResetInitComponent, + data: { + authorities: [], + pageTitle: 'global.menu.account.password.string', + }, + }, ] diff --git a/ui/src/app/account/password/password-reset-init.component.html b/ui/src/app/account/password/password-reset-init.component.html new file mode 100644 index 000000000..c21462f25 --- /dev/null +++ b/ui/src/app/account/password/password-reset-init.component.html @@ -0,0 +1,46 @@ +
Enter the email address you used to register.
+Check your emails for details on how to reset your password.
+