]> git.stg.codes - stg.git/blobdiff - stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp
Public interfaces: part 2
[stg.git] / stargazer / plugins / configuration / sgconfig / parser_auth_by.cpp
index ab1cabdf9a54af35bf61acf73cf4cd41b0477828..cc7be0060abcd5f42a01e4f0ced35c5206520a3b 100644 (file)
@@ -41,7 +41,8 @@ int AUTH_BY::Start(void * /*data*/, const char *el, const char **attr)
 
 void AUTH_BY::CreateAnswer()
 {
-    CONST_USER_PTR u;
+    using ConstUserPtr = const User*;
+    ConstUserPtr u;
     if (m_users.FindByName(m_login, &u))
     {
         m_answer = "<AuthorizedBy result=\"error\" reason=\"User not found.\"/>";