https://gitlab.synchro.net/main/sbbs/-/commit/4aca71193b32b346abb79448
Modified Files:
src/sbbs3/js_system.c
Log Message:
Add system.birthdate_template string property
Suitable for passing to console.gettemplate() when prompting for a birth date.
I'm using like this in my logon.js to correct corrupted newuser birth dates:
while(user.age < 10) {
console.putmsg(bbs.text(bbs.text.EnterYourBirthday));
user.birthdate = console.gettemplate(system.birthdate_template);
}
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net