mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 14:25:23 +00:00
fix ingore request error
This commit is contained in:
@@ -36,6 +36,7 @@ export function testLdapUserLogin(data) {
|
|||||||
|
|
||||||
export function refreshLdapUserCache() {
|
export function refreshLdapUserCache() {
|
||||||
return request({
|
return request({
|
||||||
|
disableFlashErrorMsg: true,
|
||||||
url: '/api/v1/settings/ldap/cache/refresh/',
|
url: '/api/v1/settings/ldap/cache/refresh/',
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
@@ -43,6 +44,7 @@ export function refreshLdapUserCache() {
|
|||||||
|
|
||||||
export function importLdapUser(data) {
|
export function importLdapUser(data) {
|
||||||
return request({
|
return request({
|
||||||
|
disableFlashErrorMsg: true,
|
||||||
url: '/api/v1/settings/ldap/users/import/',
|
url: '/api/v1/settings/ldap/users/import/',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: data
|
data: data
|
||||||
|
Reference in New Issue
Block a user