Skip to content
Commit 7d39865d authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

lockscreen: handle user switching also on nopassword page

this is a bit awkward but probably the best we can do without major
refactoring. previously we'd miss out on the user switch because that
only got handled on the regular login page, when dealing with a password
less account we'd get carried away by the succeeded signal to the
nopassword page and no user switching page would be on top of the stack
view.

the page flow has been slightly changed to better fit the use case:
- a new function maybeSwitchUser replaces the previous user switcher
- nopasswordunlock now **replaces** the pagestack (which is actually
what it did anyway because it has no back button)
- nopasswordunlock triggers maybeSwitchUser after completion
- regular mainview triggers maybeSwitchUser after completion

that end result is that in both scenarios we get a working switcher page

BUG: 458951
parent 8c74ef13
Pipeline #498206 failed with stage
in 18 minutes and 25 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment