mizzkey/src/server/api/common/generate-native-user-token.ts

4 lines
82 B
TypeScript
Raw Normal View History

2017-08-28 16:47:43 +02:00
import rndstr from 'rndstr';
export default () => `!${rndstr('a-zA-Z0-9', 32)}`;