mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
#18673695 : allow _ in user_id
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7275 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a39de44640
commit
15684c0f6c
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ var Validator = xe.createApp('Validator', {
|
|||
this.cast('ADD_RULE', ['email_address', regEmail]);
|
||||
|
||||
// userid
|
||||
var regUserid = /^[a-z]+[\w-]*[a-z0-9]+$/i;
|
||||
var regUserid = /^[a-z]+[\w-]*[a-z0-9_]+$/i;
|
||||
this.cast('ADD_RULE', ['userid', regUserid]);
|
||||
this.cast('ADD_RULE', ['user_id', regUserid]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue