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

Prompt guest account for e-mail address during logon.

parent 95b2ae43
Branches
Tags
No related merge requests found
......@@ -23,6 +23,17 @@ if(user.security.restrictions&UFLAG_G) {
user.name = name;
break;
}
while(bbs.online) {
printf("\1y\1hPlease enter your e-mail address: \1w");
email=console.getstr(50);
if(!email || !email.length)
continue;
bbs.log_str(" " + email);
user.netmail=email;
user.settings|=USER_NETMAIL;
break;
}
while(bbs.online) {
printf("\1y\1hPlease enter your location (City, State): \1w");
......@@ -44,6 +55,10 @@ if(user.security.restrictions&UFLAG_G) {
bbs.log_str(ref + "\r\n");
break;
}
// print("name: " + user.name);
// print("email: " + user.netmail);
// print("location: " + user.location);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment