mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
Before computing with the keyattributes
This commit is contained in:
parent
47630408b6
commit
25a79e4146
@ -201,6 +201,8 @@ const Page: React.FC<PageProps> = ({ appContext }) => {
|
||||
const getKeyAttributes: VerifyMasterPasswordFormProps["getKeyAttributes"] =
|
||||
async (kek: string) => {
|
||||
try {
|
||||
if (sessionValidityCheck) await sessionValidityCheck;
|
||||
|
||||
const cryptoWorker = await ComlinkCryptoWorker.getInstance();
|
||||
const {
|
||||
keyAttributes,
|
||||
@ -279,8 +281,6 @@ const Page: React.FC<PageProps> = ({ appContext }) => {
|
||||
passphrase,
|
||||
) => {
|
||||
try {
|
||||
if (sessionValidityCheck) await sessionValidityCheck;
|
||||
|
||||
if (isFirstLogin() && passphrase) {
|
||||
await generateAndSaveIntermediateKeyAttributes(
|
||||
passphrase,
|
||||
|
Loading…
x
Reference in New Issue
Block a user