PM-7392 - Clean up unnecessary comment

This commit is contained in:
Jared Snider 2024-05-02 11:22:19 -04:00
parent 911613ad61
commit 3c3b529af4
No known key found for this signature in database
GPG Key ID: A149DDD612516286
1 changed files with 1 additions and 4 deletions

View File

@ -147,10 +147,6 @@ export class TokenService implements TokenServiceAbstraction {
]).pipe(map(([disk, memory]) => Boolean(disk || memory)));
}
// pivoting to an approach where we create a symmetric key we store in secure storage
// which is used to protect the data before persisting to disk.
// We will also use the same symmetric key to decrypt the data when reading from disk.
private initializeState(): void {
this.emailTwoFactorTokenRecordGlobalState = this.globalStateProvider.get(
EMAIL_TWO_FACTOR_TOKEN_RECORD_DISK_LOCAL,
@ -501,6 +497,7 @@ export class TokenService implements TokenServiceAbstraction {
switch (storageLocation) {
case TokenStorageLocation.SecureStorage:
//TODO: add fallback to disk if secure storage fails
await this.saveStringToSecureStorage(
userId,
this.refreshTokenSecureStorageKey,