Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2016-03-01 06:23:00 +0300
committersgiehl <stefan@piwik.org>2016-03-01 06:23:00 +0300
commitf7543161a020eacffbf664892cdb61c908d98a7b (patch)
tree7ab537080df6fc6f4e176ae67d5799db748a40d1 /core/Piwik.php
parent248a72e9bf5ba30cfaa1cdc69ee46ca2704a374f (diff)
allow umlauts in logins
Diffstat (limited to 'core/Piwik.php')
-rw-r--r--core/Piwik.php2
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)));
}