mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-02 19:30:41 +08:00
Update FtpServer.cpp
Astyle update
This commit is contained in:
parent
39b1bb57fd
commit
a628ef2a97
@ -314,8 +314,8 @@ bool FtpServer::isUser(const char * user)
|
||||
if ((user != nullptr) && ((strcmp(user, DEFAULT_ADMIN_LOGIN) == 0) || (strcmp(user, DEFAULT_USER_LOGIN) == 0))) {
|
||||
_currentUser = user;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
#endif //AUTHENTICATION_FEATURE
|
||||
(void)user;
|
||||
_currentUser = DEFAULT_ADMIN_LOGIN;
|
||||
|
Loading…
x
Reference in New Issue
Block a user