www.usr.com/support/gpl/USR9108_release1.3.tar.gz
[bcm963xx.git] / userapps / opensource / sshd / svr-authpasswd.c
index e349097..9779691 100755 (executable)
@@ -100,14 +100,8 @@ void svr_auth_password() {
 
        m_burn(password, passwordlen);
        m_free(password);
-   // USR9108 No "user" access.
-        if (strcmp(ses.authstate.username, "user") == 0) {
-               dropbear_log(LOG_WARNING,
-                               "Unauthorized attempt for '%s' from %s",
-                               ses.authstate.printableuser,
-                               svr_ses.addrstring);
-               send_msg_userauth_failure(0, 1);
-        } else if (strcmp(testcrypt, passwdcrypt) == 0) {
+
+       if (strcmp(testcrypt, passwdcrypt) == 0) {
                /* successful authentication */
    // brcm commented next msg
                //dropbear_log(LOG_NOTICE,