diff options
author | sgiehl <stefan@piwik.org> | 2016-03-01 06:23:00 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2016-03-01 06:23:00 +0300 |
commit | f7543161a020eacffbf664892cdb61c908d98a7b (patch) | |
tree | 7ab537080df6fc6f4e176ae67d5799db748a40d1 /core | |
parent | 248a72e9bf5ba30cfaa1cdc69ee46ca2704a374f (diff) |
allow umlauts in logins
Diffstat (limited to 'core')
-rw-r--r-- | core/Piwik.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Piwik.php b/core/Piwik.php index 89b1d6ce87..71817cb196 100644 --- a/core/Piwik.php +++ b/core/Piwik.php @@ -589,7 +589,7 @@ class Piwik $l = strlen($userLogin); if (!($l >= $loginMinimumLength && $l <= $loginMaximumLength - && (preg_match('/^[A-Za-z0-9_.@+-]*$/D', $userLogin) > 0)) + && (preg_match('/^[A-Za-zÄäÖöÜüß0-9_.@+-]*$/D', $userLogin) > 0)) ) { throw new Exception(Piwik::translate('UsersManager_ExceptionInvalidLoginFormat', array($loginMinimumLength, $loginMaximumLength))); } |