]> git.stg.codes - stg.git/blobdiff - projects/sgconf/users.cpp
Added handling of "AuthBy" info.
[stg.git] / projects / sgconf / users.cpp
index 61d367366ca1680aa0d8f0ab838026d0feb4b6ec..37b3db5e10168c708d5902d2f94342f713f75057 100644 (file)
@@ -57,6 +57,12 @@ for (size_t i = 0; i < DIR_NUM; ++i)
 std::cout << Indent(level)       << "user data:\n";
 for (size_t i = 0; i < USERDATA_NUM; ++i)
     std::cout << Indent(level + 1, true) << "user data " << i << ": " << info.userData[i] << "\n";
+if (!info.authBy.empty())
+    {
+    std::cout << Indent(level) << "auth by:\n";
+    for (size_t i = 0; i < info.authBy.size(); ++i)
+        std::cout << Indent(level + 1, true) << info.authBy[i] << "\n";
+    }
 }
 
 void SimpleCallback(bool result,