Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Commit fea5fe1

Browse files
committed
Merge pull request crowi#72 from suzutan/fix/google-clientsecret
Fix google:clientSecret Regex
2 parents fd9e088 + b654ef2 commit fea5fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/form/admin/google.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ var form = require('express-form')
55

66
module.exports = form(
77
field('settingForm[google:clientId]').trim().is(/^[\d\.a-z\-\.]+$/),
8-
field('settingForm[google:clientSecret]').trim().is(/^[\da-zA-Z\-]+$/)
8+
field('settingForm[google:clientSecret]').trim().is(/^[\da-zA-Z\-_]+$/)
99
);
1010

0 commit comments

Comments
 (0)