瀏覽代碼

remove ldap

remove-ldap
Jason Chuang 1 天之前
父節點
當前提交
606dbcf40e
共有 2 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -1
      src/auth/index.js
  2. +0
    -1
      src/auth/jwt/jwtService.js

+ 1
- 1
src/auth/index.js 查看文件

@@ -22,7 +22,7 @@ let expiredAlertShownInMemory = false;

/** Login / public auth endpoints must not trigger token refresh or session-expiry reload. */
const isPublicAuthRequest = (reqUrl) =>
reqUrl.includes('/login') || reqUrl.includes('/ldap-login');
reqUrl.includes('/login');

/** Clear stale session-expiry flag so a new login attempt can show its own error dialog. */
export const clearExpiredSessionAlert = () => {


+ 0
- 1
src/auth/jwt/jwtService.js 查看文件

@@ -46,7 +46,6 @@ export default class JwtService {
if (response && response.status === 401) {
const isPublicAuthRequest =
reqUrl.includes('/login') ||
reqUrl.includes('/ldap-login') ||
reqUrl.includes('/refresh-token')
if (isPublicAuthRequest) {
return Promise.reject(error)


Loading…
取消
儲存