]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp
Fixed response for GetAuthBy on error.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / parser_auth_by.cpp
index e1da75b682f4c25f31e830578909ec1a02ca575b..3c17ce95b65a6effa5698868ab8e6acf1cedf5cb 100644 (file)
@@ -33,7 +33,7 @@ answerList->erase(answerList->begin(), answerList->end());
 USER_PTR u;
 if (users->FindByName(login, &u))
     {
-    answerList->push_back("<user result=\"error\"/>");
+    answerList->push_back("<AuthorizedBy result=\"error\" reason=\"User not found.\"/>");
     return;
     }