fix(@desktop/onboarding): erase mnemonic when register with existing key
fixes #3089
This commit is contained in:
parent
d47ddf69bb
commit
6b6ed734f6
|
@ -474,15 +474,6 @@ StatusAppLayout {
|
|||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: profileModel
|
||||
ignoreUnknownSignals: true
|
||||
enabled: removeMnemonicAfterLogin
|
||||
onInitialized: {
|
||||
profileModel.mnemonic.remove()
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: profileModel.contacts
|
||||
onContactRequestAdded: {
|
||||
|
|
10
ui/main.qml
10
ui/main.qml
|
@ -390,6 +390,16 @@ StatusWindow {
|
|||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: profileModel
|
||||
ignoreUnknownSignals: true
|
||||
enabled: removeMnemonicAfterLogin
|
||||
onInitialized: {
|
||||
profileModel.mnemonic.remove()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Component {
|
||||
id: genKey
|
||||
GenKey {
|
||||
|
|
Loading…
Reference in New Issue