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

Allow non-sysops a password re-attempt for SSH and RLogin.

Fixed bug: for RLogin and SSH, if an invalid (e.g. blank) passsword was
provided during the handshake, an "Invalid Logon" would be displayed followed
by a "Passowrord: " prompt, giving the user an opportunity to reenter the
correct password. Only problem: this only worked for sysop accounts. Normal
users would just be disconnected after they entere (any) password, correct
or not.

This bug is very old in the RLogin support and appears to have been copy/pasted
for the SSH Login bit too.
parent 993dd9de
No related branches found
No related tags found
No related merge requests found
......@@ -140,8 +140,10 @@ bool sbbs_t::answer()
break;
}
}
else
else {
i = 0;
break;
}
}
}
if(i) {
......@@ -240,8 +242,10 @@ bool sbbs_t::answer()
break;
}
}
else
else {
i = 0;
break;
}
}
}
if(i) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment