]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp
Added DIR_TRAFF_RES, refactored DIR_TRAFF.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / parser_auth_by.cpp
index 3c17ce95b65a6effa5698868ab8e6acf1cedf5cb..54921571ae291e46ce2e0eb55d2228243af2b5ca 100644 (file)
@@ -37,7 +37,7 @@ if (users->FindByName(login, &u))
     return;
     }
 
-std::string s = "<AuthorizedBy>";
+std::string s = "<AuthorizedBy result=\"ok\">";
 std::vector<std::string> list(u->GetAuthorizers());
 for (std::vector<std::string>::const_iterator it = list.begin(); it != list.end(); ++it)
     s += "<Auth name=\"" + *it + "\"/>";