https://gitlab.synchro.net/main/sbbs/-/commit/76304802c1359e0122c8ecc1
Modified Files:
exec/emailval.js
Log Message:
Don't always change user level, many new options, more detail in user-props
General improvements:
- Never reduces a user's level
- Don't allow user to change to an unsupported netmail address
- Use console.getkeys() for good command prompt behavior (no more "Invalid Selections")
- Use LEN_NETMAIL instead of copied magic number
New security options:
- level_requiring_validation (users at or below must be validated, once)
- credits_added_after_validation
- minutes_added_after_validation
Custom display message options (could be using gettext() instead):
- prompt
- entercode
- nomatch
- validated
- goodbye
The 'validated' state is now stored in the user props along with the code
(as before), the date/time it was emailed and the address it was emailed
to.
There's still a lot of room for improvement in this script.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net