Fix bug in UserInteractiveAuth()

This commit is contained in:
Jordan Bancino 2023-01-02 03:56:27 +00:00
parent e9aebab221
commit 5c5aab71d8

View file

@ -111,7 +111,7 @@ UserInteractiveAuth(HttpServerContext * context, Db * db,
return BuildDummyFlow(); return BuildDummyFlow();
} }
typeStr = JsonValueAsString(session); typeStr = JsonValueAsString(type);
sessionStr = JsonValueAsString(session); sessionStr = JsonValueAsString(session);
if (strcmp(typeStr, "m.login.dummy") != 0) if (strcmp(typeStr, "m.login.dummy") != 0)