Compare commits
3 Commits
ft/add-err
...
2409cd1f52
| Author | SHA1 | Date | |
|---|---|---|---|
| 2409cd1f52 | |||
| 8714f65a0f | |||
| 893a9b5a06 |
@@ -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