mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-21 14:03:32 -07:00
Fix OIDC infinite loop if user is not in OIDC_USER_GROUP (#3487)
This commit is contained in:
parent
84dad84326
commit
c6f5b62ad0
5 changed files with 44 additions and 17 deletions
|
@ -201,7 +201,7 @@ export default defineComponent({
|
|||
}
|
||||
|
||||
function isDirectLogin() {
|
||||
return router.currentRoute.query.direct
|
||||
return Object.keys(router.currentRoute.query).includes("direct")
|
||||
}
|
||||
|
||||
async function oidcAuthenticate() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue