diff --git a/src/gui/tray/UserModel.cpp b/src/gui/tray/UserModel.cpp index a57039d10..4544f3ee4 100644 --- a/src/gui/tray/UserModel.cpp +++ b/src/gui/tray/UserModel.cpp @@ -1,4 +1,5 @@ #include "accountmanager.h" +#include "owncloudgui.h" #include "UserModel.h" #include @@ -56,6 +57,7 @@ bool User::isConnected() const void User::login() { + _account->account()->resetRejectedCertificates(); _account->signIn(); }