Skip to content

Fix earlier CheckLoginIframe change - #118

Merged
amazy merged 1 commit into
orthanc-server:masterfrom
whage:fix-session-status-iframe-config
Aug 28, 2026
Merged

Fix earlier CheckLoginIframe change#118
amazy merged 1 commit into
orthanc-server:masterfrom
whage:fix-session-status-iframe-config

Conversation

@whage

@whage whage commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Well, this is embarrassing.
The change in #116 was incorrect. My intention was to fall back to a true value if keycloackConfig['CheckLoginIframe'] is not set but the expression

keycloackConfig['CheckLoginIframe'] || true

always evaluates to true . Facepalm

I removed the || true part altogether because I realised that a value will always be set by DefaultConfiguration.json.

I said in the previous PR that I confirmed it working. That is because I was testing in Chrome incognito windows and for some reason the iframe gets removed from the DOM in an incognito window so my change seemed to be working.
It does work as expected now.

was incorrect. My intention was to fall back to a `true` value if
keycloackConfig['CheckLoginIframe'] is not set but the expression

```
keycloackConfig['CheckLoginIframe'] || true
```

always evaluates to true. *Facepalm*

I removed || true part altogether because I realised that a value will
always be set by DefaultConfiguration.json.
@amazy
amazy merged commit adce37d into orthanc-server:master Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants