Skip to content

Commit

Permalink
wip: Allow to provide access to the site using a referrer policy #11
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Jul 3, 2024
1 parent 0a18ff7 commit af455ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/KeycloakLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function passReferrer () {
if (!document.referrer) return false
let domains = _.get(theme.value, 'referrer.domains', [])
if (!Array.isArray(domains)) domains = _.split(domains, ',')
console.log(domaines)
console.log(domains)
let pass = false
_.forEach(domains, domain => {
if (document.referrer.contains(domain)) {
Expand Down

0 comments on commit af455ba

Please sign in to comment.