Start to work on 2FA

This commit is contained in:
2022-04-18 19:23:43 +02:00
parent c0d1c41b4c
commit 3023771334
7 changed files with 82 additions and 3 deletions

@ -108,10 +108,9 @@ pub async fn change_password_route(user: CurrentUser,
}
}
HttpResponse::Ok()
.body(ChangePasswordPage {
_p: BaseSettingsPage::get("Change password", &user, danger, success),
min_pwd_len: MIN_PASS_LEN,
}.render().unwrap())
}
}