mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-10 18:10:08 +00:00
[Auth] Warn insecure context on login (#3663)
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -1190,13 +1190,6 @@ export class ComfyApp {
|
||||
|
||||
let comfyOrgAuthToken =
|
||||
(await useFirebaseAuthStore().getIdToken()) ?? undefined
|
||||
// Check if we're in a secure context before using the auth token
|
||||
if (comfyOrgAuthToken && !window.isSecureContext) {
|
||||
comfyOrgAuthToken = undefined
|
||||
console.warn(
|
||||
'Auth token not used: Not in a secure context. Authentication requires a secure connection.'
|
||||
)
|
||||
}
|
||||
|
||||
try {
|
||||
while (this.#queueItems.length) {
|
||||
|
||||
Reference in New Issue
Block a user