Change authentication status last.

This commit is contained in:
Håvar Aambø Fosstveit
2019-11-05 09:46:44 +01:00
parent 6d558be11c
commit 7a01017832
+1 -1
View File
@@ -300,9 +300,9 @@ async function setupAuth(oidcIssuer)
const peer = peers.get(state.id);
peer && (peer.authenticated = true);
peer && (peer.displayName = displayName);
peer && (peer.picture = picture);
peer && (peer.authenticated = true);
res.send(loginHelper({
displayName,