Skip to content
Snippets Groups Projects
Commit c542ed4f authored by rswindell's avatar rswindell
Browse files

Additional verbage in login response if anonymous login attempted and no

guest account exists.
parent 6a775dc9
No related branches found
No related tags found
No related merge requests found
......@@ -2603,6 +2603,8 @@ static void ctrl_thread(void* arg)
lprintf(LOG_WARNING,"%04d !UNKNOWN USER: %s, Password: %s",sock,user.alias,p);
else
lprintf(LOG_WARNING,"%04d !UNKNOWN USER: %s",sock,user.alias);
if(stricmp(user.alias,"anonymous")==0)
sockprintf(sock,"530-Anonymous logins not allowed. You must login with a valid user account.");
if(badlogin(sock,&login_attempts))
break;
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment