From 69cd065194800212c68e1b65860ce57cae09bf47 Mon Sep 17 00:00:00 2001 From: Will Medlar <5326769+wmedlar@users.noreply.github.com> Date: Sat, 12 Sep 2020 01:30:24 -0500 Subject: [PATCH] Use a more predictable response code for invalid user --- source/ftpSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ftpSession.cpp b/source/ftpSession.cpp index 6ff2d49..3c815e3 100644 --- a/source/ftpSession.cpp +++ b/source/ftpSession.cpp @@ -2743,7 +2743,7 @@ void FtpSession::USER (char const *args_) return; } - sendResponse ("502 Invalid user\r\n"); + sendResponse ("430 Invalid user\r\n"); } // clang-format off