Merge branch 'fix/login-error'
All checks were successful
Build Crate / build (push) Successful in 1m42s
All checks were successful
Build Crate / build (push) Successful in 1m42s
This commit is contained in:
@@ -117,7 +117,6 @@ fn login_form_capsule<G: Html>(
|
|||||||
if response.status() != StatusCode::OK {
|
if response.status() != StatusCode::OK {
|
||||||
let response = response.json::<GenericResponse>().await.unwrap();
|
let response = response.json::<GenericResponse>().await.unwrap();
|
||||||
state.error.set(response.status.to_string());
|
state.error.set(response.status.to_string());
|
||||||
state.reset();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user