From f392ec1d6cfb53a5b2ec1870a90a325a6cbc4848 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 10 Apr 2006 14:19:22 +0000 Subject: [PATCH] allow caret in passwords --- lam/lib/account.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/account.inc b/lam/lib/account.inc index df431aeb..6280ac13 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -449,7 +449,7 @@ function get_preg($argument, $regexp) { $pregexpr = ''; switch ($regexp) { case 'password': - $pregexpr = '/^([[:alnum:]\\ \\|\\#\\*\\,\\.\\;\\:\\_\\+\\!\\%\\&\\/\\?\\{\\(\\)\\}\\[\\]=-])*$/u'; + $pregexpr = '/^([[:alnum:]\\^\\ \\|\\#\\*\\,\\.\\;\\:\\_\\+\\!\\%\\&\\/\\?\\{\\(\\)\\}\\[\\]=-])*$/u'; break; case 'groupname': // first character must be a letter. All letters, numbers, space and ._- are allowed characters case 'username': // first character must be a letter. All letters, numbers, space and ._- are allowed characters