|
@@ -4,7 +4,7 @@ var form = require('express-form')
|
|
|
, field = form.field;
|
|
, field = form.field;
|
|
|
|
|
|
|
|
module.exports = form(
|
|
module.exports = form(
|
|
|
- field('settingForm[google:clientId]').trim().is(/^[\d\.a-z]+$/),
|
|
|
|
|
|
|
+ field('settingForm[google:clientId]').trim().is(/^[\d\.a-z\-\.]+$/),
|
|
|
field('settingForm[google:clientSecret]').trim().is(/^[\da-zA-Z\-]+$/)
|
|
field('settingForm[google:clientSecret]').trim().is(/^[\da-zA-Z\-]+$/)
|
|
|
);
|
|
);
|
|
|
|
|
|