chiark / gitweb /
Re-add the saving of the user state file when creating a new session.
[elogind.git] / src / login / logind-session-dbus.c
index d5174339327cafe46dd3b689e1243eba28a32109..7b45f783002f0bc3f369160ae0da1dabaa308fae 100644 (file)
@@ -772,6 +772,10 @@ int session_send_create_reply(Session *s, sd_bus_error *error) {
          * about the result. */
         session_save(s);
 
+#if 1 /// Additionally elogind saves the user state file
+        user_save(s->user);
+#endif // 1
+
         p = session_bus_path(s);
         if (!p)
                 return -ENOMEM;