mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
change because lost of data possible
This commit is contained in:
parent
77aa0ebe09
commit
d76946aa15
@ -793,7 +793,8 @@ void Session::detectSessionState()
|
|||||||
|
|
||||||
// check passphrase, only possible while passphrase isn't crypted in db
|
// check passphrase, only possible while passphrase isn't crypted in db
|
||||||
bool correctPassphraseFound = false;
|
bool correctPassphraseFound = false;
|
||||||
bool cryptedPassphrase = false;
|
// always trigger SESSION_STATE_PASSPHRASE_WRITTEN, else lost of data possible
|
||||||
|
bool cryptedPassphrase = true;
|
||||||
for (auto it = userBackups.begin(); it != userBackups.end(); it++) {
|
for (auto it = userBackups.begin(); it != userBackups.end(); it++) {
|
||||||
KeyPair keys;
|
KeyPair keys;
|
||||||
auto passphrase = (*it)->getModel()->getPassphrase();
|
auto passphrase = (*it)->getModel()->getPassphrase();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user