hippofish/packages/backend/src/misc/generate-native-user-token.ts

10 lines
253 B
TypeScript
Raw Normal View History

/*
2024-02-12 03:37:45 +01:00
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { secureRndstr } from '@/misc/secure-rndstr.js';
2017-08-28 16:47:43 +02:00
// eslint-disable-next-line import/no-default-export
export default () => secureRndstr(16);