Commit 45669d6f authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

If the text string NewUserPasswordVerify is blank, don't require pw verify.

For Alpha (Robbie) for use with an RLogin game door server, apparently.
parent 1970ea97
Pipeline #102 passed with stage
in 10 minutes and 26 seconds
......@@ -257,8 +257,11 @@ bool sbbs_t::logon()
CRLF;
bputs(text[VerifyPassword]);
}
else
else {
if(!text[NewUserPasswordVerify][0])
break;
bputs(text[NewUserPasswordVerify]);
}
console|=CON_R_ECHOX;
getstr(tmp,LEN_PASS*2,K_UPPER);
console&=~(CON_R_ECHOX|CON_L_ECHOX);
......
......@@ -399,7 +399,7 @@ BOOL sbbs_t::newuser()
}
c=0;
while(online) {
while(online && text[NewUserPasswordVerify][0]) {
bputs(text[NewUserPasswordVerify]);
console|=CON_R_ECHOX;
str[0]=0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment