dsssssssssssssss
This commit is contained in:
parent
8edd9d2e66
commit
f0e36b3031
|
@ -137,6 +137,7 @@ pub async fn verify_totp_authenticators_request(req: Json<VerifyTotpAuthenticato
|
||||||
};
|
};
|
||||||
|
|
||||||
if !valid {
|
if !valid {
|
||||||
|
error!("user send invalid totp code");
|
||||||
return HttpResponse::Unauthorized().json(APIErrorsResponse {
|
return HttpResponse::Unauthorized().json(APIErrorsResponse {
|
||||||
errors: vec![
|
errors: vec![
|
||||||
APIError {
|
APIError {
|
||||||
|
|
Loading…
Reference in New Issue