forked from github/dataease
Merge pull request #798 from dataease/pr@dev@feat_ldap_flyway
feat: 增加ldap的flyway
This commit is contained in:
commit
027d232b1b
@ -29,3 +29,12 @@ ALTER TABLE `sys_user` ADD COLUMN `from` int(4) NOT NULL COMMENT '来源' AFTER
|
|||||||
|
|
||||||
INSERT INTO `sys_menu` VALUES (60, 1, 0, 1, '导入LDAP用户', 'system-user-import', 'system/user/imp-ldap', 11, NULL, 'user-ldap', b'0', b'0', b'1', 'user:import', NULL, NULL, NULL, NULL);
|
INSERT INTO `sys_menu` VALUES (60, 1, 0, 1, '导入LDAP用户', 'system-user-import', 'system/user/imp-ldap', 11, NULL, 'user-ldap', b'0', b'0', b'1', 'user:import', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
BEGIN;
|
||||||
|
INSERT INTO `system_parameter` VALUES ('ldap.dn', NULL, 'text', 2);
|
||||||
|
INSERT INTO `system_parameter` VALUES ('ldap.mapping', NULL, 'text', 6);
|
||||||
|
INSERT INTO `system_parameter` VALUES ('ldap.open', NULL, 'text', 7);
|
||||||
|
INSERT INTO `system_parameter` VALUES ('ldap.ou', NULL, 'text', 4);
|
||||||
|
INSERT INTO `system_parameter` VALUES ('ldap.password', NULL, 'password', 3);
|
||||||
|
INSERT INTO `system_parameter` VALUES ('ldap.url', NULL, 'text', 1);
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
{{ $t('login.welcome') + (uiInfo && uiInfo['ui.title'] && uiInfo['ui.title'].paramValue || ' DataEase') }}
|
{{ $t('login.welcome') + (uiInfo && uiInfo['ui.title'] && uiInfo['ui.title'].paramValue || ' DataEase') }}
|
||||||
</div>
|
</div>
|
||||||
<div class="login-form">
|
<div class="login-form">
|
||||||
<el-form-item>
|
<el-form-item v-if="openLdap">
|
||||||
<el-radio-group v-model="loginForm.loginType">
|
<el-radio-group v-if="openLdap" v-model="loginForm.loginType">
|
||||||
<el-radio v-if="openLdap" :label="0" size="mini">普通登录</el-radio>
|
<el-radio v-if="openLdap" :label="0" size="mini">普通登录</el-radio>
|
||||||
<el-radio v-if="openLdap" :label="1" size="mini">LDAP</el-radio>
|
<el-radio v-if="openLdap" :label="1" size="mini">LDAP</el-radio>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user