When changing the uuid clear the password
Because id is used as part of the encryption process the value is not a valid encoded password anymore. We could decode en reencode the password but wanted a quickfix for now. This is also prevents the weird behaviour that it asks for the manager password but then has to prompt for the connection password.
This commit is contained in:
parent
f6c15f895f
commit
6cf7b52453
1 changed files with 1 additions and 0 deletions
|
|
@ -100,6 +100,7 @@ void ConnectionController::editCopy(QModelIndex index)
|
|||
if (config) {
|
||||
auto cc = *config;
|
||||
cc.setUuid(QUuid::createUuid());
|
||||
cc.setEncodedPassword({}); // maybe we should decode en reencode?
|
||||
editConfig(cc);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue