Changeset 634
- Timestamp:
- 06/01/07 20:01:11
(2 years ago)
- Author:
- rats
- Message:
Fixed #279: '-' and '_' not allowed in e-mail passwords
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r633 |
r634 |
|
| 432 | 432 | } |
|---|
| 433 | 433 | // Not permitted chars |
|---|
| 434 | | if (!preg_match("/^([a-zA-Z0-9@*#!;.+%§=-_]{6,50})$/", $pass)) { |
|---|
| | 434 | if (!preg_match("/^([a-zA-Z0-9@*#!;.+%§=\-_]{6,50})$/", $pass)) { |
|---|
| 435 | 435 | set_page_message(tr('Password data includes not permitted signs!')); |
|---|
| 436 | 436 | return; |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>