We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a818c3b commit 64a9ad1Copy full SHA for 64a9ad1
surfsense_web/lib/apis/base-api.service.ts
@@ -91,7 +91,8 @@ class BaseApiService {
91
// Validate the bearer token
92
const isNoAuthEndpoint =
93
this.noAuthEndpoints.includes(url) ||
94
- this.noAuthPrefixes.some((prefix) => url.startsWith(prefix));
+ this.noAuthPrefixes.some((prefix) => url.startsWith(prefix)) ||
95
+ /^\/api\/v1\/invites\/[^/]+\/info$/.test(url);
96
if (!this.bearerToken && !isNoAuthEndpoint) {
97
throw new AuthenticationError("You are not authenticated. Please login again.");
98
}
0 commit comments