https://gitlab.synchro.net/main/sbbs/-/commit/662b2dad086d767dbc6cccf7
Modified Files:
exec/emailval.js
Log Message:
Use user properties instead of user comment to store secret code
The secret code isn't cleared after it's validated, but it didn't appear to
be cleared before this change either (the comment retained the code).
Removed all references to "telnet" and "telval".
If the user's security level is not still at "level_before_validation" at the time of validation, don't change (possibly downgrading!) their level.
I would think a property indicating that the user is validated rather than based on level (what if you want to add flags, but not change their level?) would be better.
I'm not too thrilled about the email being sent from "sysop", but didn't
change that.
The string returned from new Date() can be really long with the platform specific timezone string, so that should probably be fixed too.
--- SBBSecho 3.34-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)