JWT Autorization / Logging in and registering

This commit is contained in:
2020-07-19 14:35:51 +02:00
parent a267dd1f37
commit 9f4f5347d4
279 changed files with 23396 additions and 33 deletions

12
node_modules/validator/es/lib/isBase32.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
import assertString from './util/assertString';
var base32 = /^[A-Z2-7]+=*$/;
export default function isBase32(str) {
assertString(str);
var len = str.length;
if (len > 0 && len % 8 === 0 && base32.test(str)) {
return true;
}
return false;
}