fix: Fix bug where the password reset form doesnt show up when using
All checks were successful
CI / Get Changed Files (pull_request) Successful in 38s
CI / Checkstyle Main (pull_request) Has been skipped
CI / Docker backend validation (pull_request) Has been skipped
CI / oxlint (pull_request) Successful in 48s
CI / prettier (pull_request) Successful in 46s
CI / eslint (pull_request) Successful in 58s
CI / test-build (pull_request) Successful in 57s
CI / Docker frontend validation (pull_request) Successful in 1m38s
All checks were successful
CI / Get Changed Files (pull_request) Successful in 38s
CI / Checkstyle Main (pull_request) Has been skipped
CI / Docker backend validation (pull_request) Has been skipped
CI / oxlint (pull_request) Successful in 48s
CI / prettier (pull_request) Successful in 46s
CI / eslint (pull_request) Successful in 58s
CI / test-build (pull_request) Successful in 57s
CI / Docker frontend validation (pull_request) Successful in 1m38s
center buttons
This commit is contained in:
parent
46c9d2b7c1
commit
ee3a57f5b3
2 changed files with 25 additions and 3 deletions
|
@ -182,7 +182,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
@if (showLogin() || showRegister()) {
|
||||
@if (showLogin() || showRegister() || showRecoverPassword()) {
|
||||
<div
|
||||
class="fixed inset-0 bg-black/50 z-40"
|
||||
(click)="hideAuthForms()"
|
||||
|
@ -194,7 +194,11 @@
|
|||
<div class="fixed inset-0 flex items-center justify-center z-50 p-4" role="presentation">
|
||||
<div class="relative" role="dialog" aria-modal="true">
|
||||
@if (showLogin()) {
|
||||
<app-login (switchForm)="showRegisterForm()" (closeDialog)="hideAuthForms()"></app-login>
|
||||
<app-login
|
||||
(forgotPassword)="showRecoverPasswordForm()"
|
||||
(switchForm)="showRegisterForm()"
|
||||
(closeDialog)="hideAuthForms()"
|
||||
></app-login>
|
||||
}
|
||||
@if (showRegister()) {
|
||||
<app-register
|
||||
|
@ -202,6 +206,12 @@
|
|||
(closeDialog)="hideAuthForms()"
|
||||
></app-register>
|
||||
}
|
||||
@if (showRecoverPassword()) {
|
||||
<app-recover-password
|
||||
(closeDialog)="hideAuthForms()"
|
||||
(switchToLogin)="showLoginForm()"
|
||||
></app-recover-password>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
|
Reference in a new issue