Merge branch 'development' into LTS_development
This commit is contained in:
commit
0181a86901
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ int Controller::handleAPIConnection(Socket::Connection & conn){
|
||||||
authorized = true;
|
authorized = true;
|
||||||
}
|
}
|
||||||
//if already authorized, do not re-check for authorization
|
//if already authorized, do not re-check for authorization
|
||||||
if (authorized){
|
if (authorized && Storage["account"]){
|
||||||
Response["authorize"]["status"] = "OK";
|
Response["authorize"]["status"] = "OK";
|
||||||
}else{
|
}else{
|
||||||
authorized |= authorize(Request, Response, conn);
|
authorized |= authorize(Request, Response, conn);
|
||||||
|
|
Loading…
Add table
Reference in a new issue