maybe?
This commit is contained in:
parent
61338a1fb1
commit
816386660e
@ -89,6 +89,11 @@ class Main extends Component {
|
|||||||
status: "failed",
|
status: "failed",
|
||||||
})
|
})
|
||||||
} else {
|
} 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({
|
this.setState({
|
||||||
text: data.success,
|
text: data.success,
|
||||||
status: "success",
|
status: "success",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user