diff --git a/src/UserInteractiveAuth.c b/src/UserInteractiveAuth.c index b5f9a83..967d432 100644 --- a/src/UserInteractiveAuth.c +++ b/src/UserInteractiveAuth.c @@ -111,7 +111,7 @@ UserInteractiveAuth(HttpServerContext * context, Db * db, return BuildDummyFlow(); } - typeStr = JsonValueAsString(session); + typeStr = JsonValueAsString(type); sessionStr = JsonValueAsString(session); if (strcmp(typeStr, "m.login.dummy") != 0)