PMCORE-2719 Anonymous option, does not hide the username and password fields in LDAP connection
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -12,18 +12,18 @@
|
||||
"@vue/cli": "^4.4.6",
|
||||
"axios": "^0.19.2",
|
||||
"bootstrap": "^4.5.0",
|
||||
"bootstrap-vue": "^2.15.0",
|
||||
"core-js": "^3.6.5",
|
||||
"bootstrap-vue": "^2.20.1",
|
||||
"core-js": "^3.8.1",
|
||||
"lodash": "^4.17.19",
|
||||
"save": "^2.4.0",
|
||||
"vue": "^2.6.11",
|
||||
"vue-tables-2": "^2.0.27",
|
||||
"vue-tables-2": "^2.1.61",
|
||||
"vuelidate": "^0.7.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/cli-plugin-babel": "~4.5.0",
|
||||
"@vue/cli-plugin-eslint": "~4.5.0",
|
||||
"@vue/cli-service": "~4.5.0",
|
||||
"@vue/cli-plugin-babel": "^4.5.9",
|
||||
"@vue/cli-plugin-eslint": "^4.5.9",
|
||||
"@vue/cli-service": "^4.5.9",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"eslint": "^6.7.2",
|
||||
"eslint-plugin-vue": "^6.2.2",
|
||||
|
||||
@@ -158,24 +158,35 @@
|
||||
components: {
|
||||
formUploadSource
|
||||
},
|
||||
validations: {
|
||||
form: {
|
||||
name: {
|
||||
required
|
||||
},
|
||||
serverAddress: {
|
||||
required
|
||||
},
|
||||
port: {
|
||||
required
|
||||
},
|
||||
userName: {
|
||||
required
|
||||
},
|
||||
password: {
|
||||
required
|
||||
validations() {
|
||||
let fields = {
|
||||
form: {
|
||||
name: {
|
||||
required
|
||||
},
|
||||
serverAddress: {
|
||||
required
|
||||
},
|
||||
port: {
|
||||
required
|
||||
}
|
||||
}
|
||||
};
|
||||
if (this.form.anonymous === '1') {
|
||||
fields.form.userName = {
|
||||
};
|
||||
fields.form.password = {
|
||||
};
|
||||
}
|
||||
if (this.form.anonymous === '0') {
|
||||
fields.form.userName = {
|
||||
required
|
||||
};
|
||||
fields.form.password = {
|
||||
required
|
||||
};
|
||||
}
|
||||
return fields;
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
file.reference.userExtendedAttributes-public=public
|
||||
files.encoding=UTF-8
|
||||
site.root.folder=${file.reference.userExtendedAttributes-public}
|
||||
source.folder=
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.web.clientproject</type>
|
||||
<configuration>
|
||||
<data xmlns="http://www.netbeans.org/ns/clientside-project/1">
|
||||
<name>userExtendedAttributes</name>
|
||||
</data>
|
||||
</configuration>
|
||||
</project>
|
||||
@@ -1,4 +0,0 @@
|
||||
file.reference.userPersonalInformation-public=public
|
||||
files.encoding=UTF-8
|
||||
site.root.folder=${file.reference.userPersonalInformation-public}
|
||||
source.folder=
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.web.clientproject</type>
|
||||
<configuration>
|
||||
<data xmlns="http://www.netbeans.org/ns/clientside-project/1">
|
||||
<name>userPersonalInformation</name>
|
||||
</data>
|
||||
</configuration>
|
||||
</project>
|
||||
Reference in New Issue
Block a user