We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d67a2e8 commit 2bb033aCopy full SHA for 2bb033a
src/routes/LoginWithToken.tsx
@@ -23,7 +23,7 @@ export const validate = (values: IValues): IFormErrors => {
23
const errors: IFormErrors = {};
24
if (!values.token) {
25
errors.token = 'Required';
26
- } else if (!/^[A-Z0-9]{40}$/i.test(values.token)) {
+ } else if (!/^[A-Z0-9_]{40}$/i.test(values.token)) {
27
errors.token = 'Invalid token.';
28
}
29
0 commit comments