Skip to content

Conversation

@agoodkind
Copy link
Contributor

@agoodkind agoodkind commented Sep 29, 2025

When calling /api/captiveportal/access/status/ while a session is already logged in to the captive portal, the field authType is not returned, whereas when logged out, it is returned. This PR adds the field in the logged-in response as well.

Logged in:
Screenshot 2025-09-28 at 21 28 19

Logged out:
Screenshot 2025-09-28 at 21 28 23

@AdSchellevis
Copy link
Member

there is a performance penalty in doing this as authenticated clients will fetch data from the configuration as well, which strictly speaking doesn't have a lot of value (client was authenticated, the type is a bit redundant anyway)

@agoodkind agoodkind closed this Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants