X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserv_pas2.c;h=94c6ff483528f17ceecbb065dd51a76df6a624b5;hb=95340caeddca31acdfd6f966325833b8368c4556;hp=bae7fa347d19ef810df7e35e6a1540aac2eb446c;hpb=00aa5f187b2c9707828c3f1a6c808630aff8f933;p=citadel.git diff --git a/citadel/serv_pas2.c b/citadel/serv_pas2.c index bae7fa347..94c6ff483 100644 --- a/citadel/serv_pas2.c +++ b/citadel/serv_pas2.c @@ -52,14 +52,14 @@ void cmd_pas2(char *argbuf) extract(pw, argbuf, 0); - if (getuser(&CC->usersupp, CC->curr_user)) + if (getuser(&CC->user, CC->curr_user)) { cprintf("%d Unable to find user record for %s.\n", ERROR, CC->curr_user); return; } strproc(pw); - strproc(CC->usersupp.password); + strproc(CC->user.password); if (strlen(pw) != (MD5_HEXSTRING_SIZE-1)) { @@ -67,7 +67,7 @@ void cmd_pas2(char *argbuf) return; } - make_apop_string(CC->usersupp.password, CC->cs_nonce, hexstring, sizeof hexstring); + make_apop_string(CC->user.password, CC->cs_nonce, hexstring, sizeof hexstring); if (!strcmp(hexstring, pw)) {