diff options
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index ad9bd1ad..e5d236d4 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -591,7 +591,7 @@ login_query() passbuf, sizeof(passbuf), NOECHO); passbuf[8] = '\0'; - if( initcuser(uid) < 1 || cuser.userid[0] || + if( initcuser(uid) < 1 || !cuser.userid[0] || !checkpasswd(cuser.passwd, passbuf) ){ logattempt(cuser.userid , '-'); outs(ERR_PASSWD); |