forked from Silverfish/proton-bridge
GODT-2042: fix setup guide not always showing on first login.
This commit is contained in:
@ -86,7 +86,11 @@ ApplicationWindow {
|
||||
root.showAndRise()
|
||||
}
|
||||
|
||||
function onLoginFinished(index) {
|
||||
function onLoginFinished(index, wasSignedOut) {
|
||||
var user = Backend.users.get(index)
|
||||
if (user && !wasSignedOut) {
|
||||
root.showSetup(user, user.addresses[0])
|
||||
}
|
||||
console.debug("Login finished", index)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user