fix: scrollbar appearing on digest auth input fields and other improvements (#4492)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
This commit is contained in:
@@ -6,6 +6,7 @@ import { Service } from "dioc"
|
||||
import { computed, markRaw, Ref } from "vue"
|
||||
|
||||
import { getI18n } from "~/modules/i18n"
|
||||
import { platform } from "~/platform"
|
||||
import { AgentInterceptorService } from "~/platform/std/interceptors/agent"
|
||||
import { InterceptorService } from "~/services/interceptor.service"
|
||||
import { RESTTabService } from "~/services/tab/rest"
|
||||
@@ -74,9 +75,12 @@ export class AuthorizationInspectorService
|
||||
const results: InspectorResult[] = []
|
||||
|
||||
// `Agent` interceptor is recommended while using Digest Auth
|
||||
// TODO: Better check to detect the platform
|
||||
// Interceptor check only applies to the browser platform
|
||||
const isUnsupportedInterceptor =
|
||||
platform.interceptors.default === "browser" &&
|
||||
this.interceptorService.currentInterceptorID.value !==
|
||||
this.agentService.interceptorID
|
||||
this.agentService.interceptorID
|
||||
|
||||
const resolvedAuthType = this.resolveAuthType(auth)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user