feat: api key regeneration

This commit is contained in:
sct
2020-12-18 19:40:21 +09:00
parent 6933b661ca
commit 6beac736ef
6 changed files with 96 additions and 13 deletions

View File

@@ -213,7 +213,7 @@ class Settings {
}
private generateApiKey(): string {
return Buffer.from(`${Date.now()}${this.clientId}`).toString('base64');
return Buffer.from(`${Date.now()}${uuidv4()})`).toString('base64');
}
/**