Skip to content
Commit 28c135c2 authored by Felix Weilbach's avatar Felix Weilbach Committed by backportbot[bot]
Browse files

Only set dav user after login.

Setting the credentials of the account inside the auth widget is not a
good idea as that will destroy the previous credentials object which
may wait for a signal to be emitted by the credentials dialog that
was created by the credentials that are going to be deleted. Uff.

It should be enough to set the dav user only after login because the
dav user will never change.

See also the discussion here
https://github.com/nextcloud/desktop/issues/3677#issuecomment-907976839



Fixes #3677

Signed-off-by: default avatarFelix Weilbach <felix.weilbach@nextcloud.com>
parent 01fdd229
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