diff --git a/src/client/Client.cpp b/src/client/Client.cpp index 0c43c24d1..eae84f72f 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -940,6 +940,7 @@ Client::~Client() void Client::SetAuthUser(User user) { authUser = user; + WritePrefs(); notifyAuthUserChanged(); }