mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
interface setting and terminal settings
This commit is contained in:
@@ -9,6 +9,7 @@ export function getSettings() {
|
||||
|
||||
export function testEmailSetting(data) {
|
||||
return request({
|
||||
disableFlashErrorMsg: true,
|
||||
url: '/api/v1/settings/mail/testing/',
|
||||
method: 'post',
|
||||
data: data
|
||||
@@ -17,6 +18,7 @@ export function testEmailSetting(data) {
|
||||
|
||||
export function testLdapSetting(data) {
|
||||
return request({
|
||||
disableFlashErrorMsg: true,
|
||||
url: '/api/v1/settings/ldap/testing/config/',
|
||||
method: 'post',
|
||||
data: data
|
||||
@@ -25,6 +27,7 @@ export function testLdapSetting(data) {
|
||||
|
||||
export function testLdapUserLogin(data) {
|
||||
return request({
|
||||
disableFlashErrorMsg: true,
|
||||
url: '/api/v1/settings/ldap/testing/login/',
|
||||
method: 'post',
|
||||
data: data
|
||||
|
||||
Reference in New Issue
Block a user