Fix api keys (#2116)
* Distinguish local env variables * Remove api token secret
This commit is contained in:
@ -69,10 +69,6 @@ export class EnvironmentService {
|
||||
return this.configService.get<string>('LOGIN_TOKEN_SECRET')!;
|
||||
}
|
||||
|
||||
getApiTokenSecret(): string {
|
||||
return this.configService.get<string>('API_TOKEN_SECRET')!;
|
||||
}
|
||||
|
||||
getLoginTokenExpiresIn(): string {
|
||||
return this.configService.get<string>('LOGIN_TOKEN_EXPIRES_IN') ?? '15m';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user