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

Fix bug where if the user's password was stored in lowercase (e.g. by bug),

the user could not change their password. Ever.
parent c199632e
No related branches found
No related tags found
No related merge requests found
...@@ -1009,7 +1009,7 @@ void sbbs_t::maindflts(user_t* user) ...@@ -1009,7 +1009,7 @@ void sbbs_t::maindflts(user_t* user)
console|=CON_R_ECHOX; console|=CON_R_ECHOX;
ch=getstr(str,LEN_PASS,K_UPPER); ch=getstr(str,LEN_PASS,K_UPPER);
console&=~(CON_R_ECHOX|CON_L_ECHOX); console&=~(CON_R_ECHOX|CON_L_ECHOX);
if(strcmp(str,user->pass)) { if(stricmp(str,user->pass)) {
bputs(text[WrongPassword]); bputs(text[WrongPassword]);
pause(); pause();
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment