Commit ec56a0e5 authored by Alexis Ragot's avatar Alexis Ragot

fix pattern of user account name (login) to use mail address

parent 86693a92
...@@ -31,7 +31,7 @@ class newUserAccount ...@@ -31,7 +31,7 @@ class newUserAccount
{ {
/** /**
* @var string * @var string
* @pattern #^[A-Za-z_][A-Za-z0-9_]*$# * @pattern #^[A-Za-z][A-Za-z0-9_.@]*[A-Za-z]$#
* @notempty * @notempty
*/ */
public $accountName; public $accountName;
......
...@@ -40,7 +40,7 @@ class userAccount ...@@ -40,7 +40,7 @@ class userAccount
/** /**
* @var string * @var string
* @pattern #^[A-Za-z_][A-Za-z0-9_]*$# * @pattern #^[A-Za-z][A-Za-z0-9_.@]*[A-Za-z]$#
* @notempty * @notempty
*/ */
public $accountName; public $accountName;
......
...@@ -39,7 +39,7 @@ class userAccountUpdate ...@@ -39,7 +39,7 @@ class userAccountUpdate
/** /**
* @var string * @var string
* @pattern #^[A-Za-z_][A-Za-z0-9_]*$# * @pattern #^[A-Za-z][A-Za-z0-9_.@]*[A-Za-z]$#
* @notempty * @notempty
*/ */
public $accountName; public $accountName;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment