Skip to content

Commit d510d54

Browse files
authored
fix: logout on login refresh (#272)
1 parent 98d98dc commit d510d54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/login.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export const createLoginRoute: RouteCreator =
163163
}
164164

165165
let logoutUrl = ""
166-
if (flow.requested_aal === "aal2") {
166+
if (flow.requested_aal === "aal2" || flow.refresh) {
167167
logoutUrl = await getLogoutUrl(flow)
168168
}
169169

0 commit comments

Comments
 (0)