Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

allow for logout in saas auth mode

Mike Fortman1eee9be8b683
diff --git a/frontend/contexts/auth-context.tsx b/frontend/contexts/auth-context.tsx
index f5b405ff6..c1097a747 100644
--- a/frontend/contexts/auth-context.tsx
+++ b/frontend/contexts/auth-context.tsx
@@ -207,9 +207,7 @@ export function AuthProvider({ children }: AuthProviderProps) {
};
const logout = async () => {
- // Don't allow logout in no-auth mode or IBM auth mode
- if (isNoAuthMode || isIbmAuthMode) {
- console.log("Logout attempted in no-auth/IBM auth mode - ignored");
+ if (isNoAuthMode) {
return;
}