software:dailydata:libraries:php_user
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
software:dailydata:libraries:php_user [2021/08/25 19:41] – rodolico | software:dailydata:libraries:php_user [2021/08/25 21:31] – rodolico | ||
---|---|---|---|
Line 13: | Line 13: | ||
You can get a copy of this from our subversion repository | You can get a copy of this from our subversion repository | ||
<code bash> | <code bash> | ||
- | svn co http:// | + | svn co http:// |
</ | </ | ||
My working copy is at | My working copy is at | ||
Line 124: | Line 124: | ||
' | ' | ||
// a regex to run it against to verify it is ok | // a regex to run it against to verify it is ok | ||
- | ' | + | ' |
// == for Data Source == | // == for Data Source == | ||
Line 199: | Line 199: | ||
== filter == | == filter == | ||
- | If set, this is assumed to be a regular express. The result of the input is checked against the regex. If it does not match the regex, the update is declined and an error message displayed. By default, the username can only be alpha-numeric and an underscore, so the regex '/ | + | If set, this is assumed to be a regular express. The result of the input is checked against the regex. If it does not match the regex, the update is declined and an error message displayed. By default, the username can only be alpha-numeric and an underscore, so the regex '/^[a-zA-Z0-9_]+$/' is set as the filter. If a user puts a period in their password, it will be rejected. Validity of the regex is not checked. |
== size == | == size == |
software/dailydata/libraries/php_user.txt · Last modified: 2021/09/22 01:30 by rodolico