@everymatrix/general-player-login-form 0.0.244 → 0.0.245

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-player-login-form",
3
- "version": "0.0.244",
3
+ "version": "0.0.245",
4
4
  "main": "dist/general-player-login-form.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "23ca6a1db8e19fea0b5f18176f0d846ed03c43f4"
39
+ "gitHead": "d96554d716d8c3b41f947c85c9b8cae8f03aa5bf"
40
40
  }
@@ -104,7 +104,7 @@
104
104
  }
105
105
 
106
106
  const checkUserIdentifier = (user:string):boolean => {
107
- if (regexValidators.user.test(user) || regexValidators.email.test(user)) {
107
+ if ((regexValidators.user.test(user) || regexValidators.email.test(user)) && user.length <= 100) {
108
108
  return true;
109
109
  } else {
110
110
  return false;