Demo: fix
This commit is contained in:
@@ -18,7 +18,7 @@ function getUserRole(found) {
|
||||
var mail = found.mail;
|
||||
if (!/\d/.test(mail)) {
|
||||
// Mail contains no number
|
||||
roles += ",author";
|
||||
roles += ',"author"';
|
||||
}
|
||||
return ('{'+roles+'}');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user