]> git.stg.codes - stg.git/commitdiff
Added result on success for GetAuthBy.
authorMaxim Mamontov <faust.madf@gmail.com>
Fri, 23 Aug 2013 15:59:29 +0000 (18:59 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Fri, 23 Aug 2013 15:59:29 +0000 (18:59 +0300)
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 + "\"/>";