From eedc0531478ad21fa7e9fc2103f8436c7fbd9973 Mon Sep 17 00:00:00 2001
From: Falko Timme <ft@falkotimme.com>
Date: Wed, 30 Oct 2013 05:20:48 -0400
Subject: [PATCH] - Allow umlauts (äöüÄÖÜ) in SSL certificates.
---
interface/web/admin/form/users.tform.php | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/interface/web/admin/form/users.tform.php b/interface/web/admin/form/users.tform.php
index dc445d5..b6ff5f3 100644
--- a/interface/web/admin/form/users.tform.php
+++ b/interface/web/admin/form/users.tform.php
@@ -146,6 +146,10 @@
2 => array ( 'type' => 'REGEX',
'regex' => '/^[\w\.\-\_]{0,64}$/',
'errmsg'=> 'username_err'),
+ 3 => array ( 'type' => 'CUSTOM',
+ 'class' => 'validate_client',
+ 'function' => 'username_collision',
+ 'errmsg'=> 'username_error_collision'),
),
'regex' => '',
'errmsg' => '',
--
Gitblit v1.9.1