Merge branch 'development' into LTS_development

This commit is contained in:
Thulinma 2017-05-15 17:15:50 +02:00
commit 0181a86901

View file

@ -151,7 +151,7 @@ int Controller::handleAPIConnection(Socket::Connection & conn){
authorized = true;
}
//if already authorized, do not re-check for authorization
if (authorized){
if (authorized && Storage["account"]){
Response["authorize"]["status"] = "OK";
}else{
authorized |= authorize(Request, Response, conn);