Fix typo
This commit is contained in:
parent
a51cab4c39
commit
1c8c471fc6
@ -40,7 +40,7 @@ pub async fn two_factors_route(user: CurrentUser) -> impl Responder {
|
|||||||
HttpResponse::Ok()
|
HttpResponse::Ok()
|
||||||
.body(TwoFactorsPage {
|
.body(TwoFactorsPage {
|
||||||
_p: BaseSettingsPage::get(
|
_p: BaseSettingsPage::get(
|
||||||
"Two factors auth",
|
"Two factor auth",
|
||||||
&user,
|
&user,
|
||||||
None,
|
None,
|
||||||
None),
|
None),
|
||||||
@ -108,4 +108,4 @@ pub async fn add_webauthn_factor_route(user: CurrentUser, manager: WebAuthManage
|
|||||||
opaque_state: registration_request.opaque_state,
|
opaque_state: registration_request.opaque_state,
|
||||||
challenge_json: urlencoding::encode(&challenge_json).to_string(),
|
challenge_json: urlencoding::encode(&challenge_json).to_string(),
|
||||||
}.render().unwrap())
|
}.render().unwrap())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user