chiark / gitweb /
logind: add new session type "web" for PAM web clients, such as cockpit
[elogind.git] / src / login / logind-session.c
index feedc30fa6142fa8fefc7b208447ba32ef2aba77..9d05faf47ceab9aa60cb99b84aaa967d867e6333 100644 (file)
@@ -1159,6 +1159,7 @@ static const char* const session_type_table[_SESSION_TYPE_MAX] = {
         [SESSION_X11] = "x11",
         [SESSION_WAYLAND] = "wayland",
         [SESSION_MIR] = "mir",
         [SESSION_X11] = "x11",
         [SESSION_WAYLAND] = "wayland",
         [SESSION_MIR] = "mir",
+        [SESSION_WEB] = "web",
 };
 
 DEFINE_STRING_TABLE_LOOKUP(session_type, SessionType);
 };
 
 DEFINE_STRING_TABLE_LOOKUP(session_type, SessionType);