fix system-login active
This commit is contained in:
parent
7320874578
commit
f3305a6054
|
@ -115,6 +115,7 @@ func (api *API) Login(w http.ResponseWriter, r *http.Request, _ httprouter.Param
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
logger.Warn("not active")
|
logger.Warn("not active")
|
||||||
|
returnerr = &libapi.ErrorResult{Fields: []string{"active"}, Message: "Not a active User"}
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
Reference in New Issue