Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
module:emailval [2019/07/14 14:48] Mortifismodule:emailval [2019/07/14 21:44] – [Configure] Document new option: expiration_after_validation digital man
Line 1: Line 1:
 ====== Email Validation ====== ====== Email Validation ======
-Email Validation (emailval.js v0.2 by tracker1) is a simple script that, when enabled,\\ +Email Validation (based on ''emailval.js'' v0.2 by [[person:tracker1]]) is a simple script that, when enabled, 
-requires a user to validate their email address by entering a validation code.\\ +requires a user to validate their email address by entering a validation code that the system has e-mailed to them.
-\\ +
-Upon successful validation the user's security level is updated allowing for more access privileges.\\ +
-\\ +
-Version 0.2a under development with configurable expiration date and UFLAG values\\+
  
 +Upon successful validation, the user's security level is updated, allowing for more access privileges.
 +
 +===== Install =====
 +
 +Set ''email_validation = true'' in the ''[logon]'' section of your ''[[dir:ctrl]]/[[config:modopts.ini]]'' file.
 +
 +===== Configure ===== 
 +
 +The [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/emailval.js|e-mail validation module]] supports the following configuration options in the ''[emailval]'' section of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file:
 +
 +^ Option ^ Default ^ Description ^
 +| level_before_validation | ''50''  | Security [[access:level]] of unvalidated users |
 +| level_after_validation | ''60''  | Security [[access:level]] of validated users  |
 +| flags1_after_validation | //no change// | [[access:Flags]] (from flags set 1) to give, add-to, or remove-from validated users |
 +| flags2_after_validation | //no change// | " " (from flags set 2) |
 +| flags3_after_validation | //no change// | " " (from flags set 3) |
 +| flags4_after_validation | //no change// | " " (from flags set 4) |
 +| exemptions_after_validation | //no change// | [[access:Exemptions]] to give, add-to, or remove-from validated users |
 +| restrictions_after_validation | //no change// | [[access:Restrictions]] to give, add-to, or remove-from validated users |
 +| expiration_after_validation | ''false'' | If ''true'', leave or extend the user account expiration date. If ''false'', set validated users to not expire |
 +| expiration_days_after_validation | //no change// | If ''expiration_after_validation = true'', the days to extend the user's expiration date, once validated |
 +
 +
 +**Note**:\\
 +The flags, exemptions, and restrictions ''.ini'' values support 'A' through 'Z' with the optional '+' (add) and '-' (remove) modifiers.\\
 +e.g. "+A-B" to add the A flag and remove the B flag \\
 +e.g. "AB" to change the flag set to just "AB" \\
 +
 +Numeric values are supported for assignment (not modification). \\
 +e.g. 0 = no flags, 1 = A, 2 = B, 4 = C, 8 = D, etc. \\
  
 ===== See Also ===== ===== See Also =====
   * [[:module:|Modules]]   * [[:module:|Modules]]
  
module/emailval.txt · Last modified: 2020/12/10 19:15 by mlong
Back to top
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0