mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Make login parametrized with a force_logout boolean
Instead of using a separate function to force logging out before login, login now has a boolean parameter that instructs it to logout before loging in again, if the user is alread logged in. It then starts the authorization with a force browser logout first. CURA-7427
This commit is contained in:
parent
898ca852f0
commit
eac4d3e463
3 changed files with 20 additions and 32 deletions
|
|
@ -93,7 +93,7 @@ Item
|
|||
color: UM.Theme.getColor("text_link")
|
||||
MouseArea {
|
||||
anchors.fill: parent;
|
||||
onClicked: Cura.API.account.loginWithForcedLogout()
|
||||
onClicked: Cura.API.account.login(true)
|
||||
hoverEnabled: true
|
||||
onEntered:
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue