git://repos.xcallymotion.com
/
motion.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Built motion from commit 98555a2.|1.0.12
[motion.git]
/
server
/
models
/
voice_queue.js
diff --git
a/server/models/voice_queue.js
b/server/models/voice_queue.js
index
8067431
..
ccc5333
100644
(file)
--- a/
server/models/voice_queue.js
+++ b/
server/models/voice_queue.js
@@
-8,7
+8,10
@@
module.exports = function(sequelize, DataTypes) {
unique: true,
validate: {
notEmpty: true,
- is: /^[A-Za-z0-9\.\_]+$/i
+ is: {
+ args: /^[A-Za-z0-9._\+*!\-\[\]]+$/,
+ msg: 'The name is not valid!'
+ }
},
},
musiconhold: {