Commit ec56a0e5 by Alexis Ragot

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

parent 86693a92
......@@ -31,7 +31,7 @@ class newUserAccount
{
/**
* @var string
* @pattern #^[A-Za-z_][A-Za-z0-9_]*$#
* @pattern #^[A-Za-z][A-Za-z0-9_.@]*[A-Za-z]$#
* @notempty
*/
public $accountName;
......
......@@ -40,7 +40,7 @@ class userAccount
/**
* @var string
* @pattern #^[A-Za-z_][A-Za-z0-9_]*$#
* @pattern #^[A-Za-z][A-Za-z0-9_.@]*[A-Za-z]$#
* @notempty
*/
public $accountName;
......
......@@ -39,7 +39,7 @@ class userAccountUpdate
/**
* @var string
* @pattern #^[A-Za-z_][A-Za-z0-9_]*$#
* @pattern #^[A-Za-z][A-Za-z0-9_.@]*[A-Za-z]$#
* @notempty
*/
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