This commit is contained in:
Martin Quarda 2024-10-09 19:07:39 +02:00
parent 61338a1fb1
commit 816386660e

View File

@ -89,6 +89,11 @@ class Main extends Component {
status: "failed",
})
} else {
if(api_endpoint==="/api/login"){
fetch(addr_prefix + "/api/login_status").then(resp => resp.json()).then(json => {
this.setState({login_status: json})
})
}
this.setState({
text: data.success,
status: "success",