1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-09-30 04:17:55 +02:00

set last active to 1 year ago

This commit is contained in:
Kyle Spearrin 2019-06-03 15:50:26 -04:00
parent 0e3eeab828
commit 43517fc4f6

View File

@ -176,7 +176,7 @@ namespace Bit.App.Migration
// Post migration tasks
await cryptoService.ToggleKeyAsync();
await storageService.SaveAsync(Constants.LastActiveKey, DateTime.MinValue);
await storageService.SaveAsync(Constants.LastActiveKey, DateTime.UtcNow.AddYears(-1));
await lockService.CheckLockAsync();
// Remove "needs migration" flag