ソースを参照

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)


読み込み中…
キャンセル
保存