0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

refactor(core): update app secret length to 21 (#1773)

This commit is contained in:
Gao Sun 2022-08-12 23:38:10 +08:00 committed by GitHub
parent 65d579f50d
commit 166da40210
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,4 +4,4 @@ export const alphabet = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrs
export const buildIdGenerator = (size: number) => customAlphabet(alphabet, size);
export const buildApplicationSecret = buildIdGenerator(64);
export const buildApplicationSecret = buildIdGenerator(21);