Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
d1dd1f19
Commit
d1dd1f19
authored
Apr 24, 2020
by
NGPixel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: ldap allow disable cert check + icon
parent
ec2d10c7
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
21 deletions
+27
-21
admin-analytics.vue
client/components/admin/admin-analytics.vue
+4
-4
admin-auth.vue
client/components/admin/admin-auth.vue
+4
-4
admin-search.vue
client/components/admin/admin-search.vue
+4
-4
admin-storage.vue
client/components/admin/admin-storage.vue
+4
-4
authentication.js
server/modules/authentication/ldap/authentication.js
+1
-0
definition.yml
server/modules/authentication/ldap/definition.yml
+10
-5
No files found.
client/components/admin/admin-analytics.vue
View file @
d1dd1f19
...
...
@@ -63,7 +63,7 @@
:key='cfg.key'
:label='cfg.value.title'
v-model='cfg.value.value'
prepend-icon='mdi-
settings
-box'
prepend-icon='mdi-
cog
-box'
:hint='cfg.value.hint ? cfg.value.hint : ""'
persistent-hint
:class='cfg.value.hint ? "mb-2" : ""'
...
...
@@ -74,7 +74,7 @@
:label='cfg.value.title'
v-model='cfg.value.value'
color='primary'
prepend-icon='mdi-
settings
-box'
prepend-icon='mdi-
cog
-box'
:hint='cfg.value.hint ? cfg.value.hint : ""'
persistent-hint
inset
...
...
@@ -85,7 +85,7 @@
:key='cfg.key'
:label='cfg.value.title'
v-model='cfg.value.value'
prepend-icon='mdi-
settings
-box'
prepend-icon='mdi-
cog
-box'
:hint='cfg.value.hint ? cfg.value.hint : ""'
persistent-hint
:class='cfg.value.hint ? "mb-2" : ""'
...
...
@@ -96,7 +96,7 @@
:key='cfg.key'
:label='cfg.value.title'
v-model='cfg.value.value'
prepend-icon='mdi-
settings
-box'
prepend-icon='mdi-
cog
-box'
:hint='cfg.value.hint ? cfg.value.hint : ""'
persistent-hint
:class='cfg.value.hint ? "mb-2" : ""'
...
...
client/components/admin/admin-auth.vue
View file @
d1dd1f19
...
...
@@ -99,7 +99,7 @@
:key='cfg.key'
:label='cfg.value.title'
v-model='cfg.value.value'
prepend-icon='mdi-
settings
-box'
prepend-icon='mdi-
cog
-box'
:hint='cfg.value.hint ? cfg.value.hint : ""'
persistent-hint
:class='cfg.value.hint ? "mb-2" : ""'
...
...
@@ -110,7 +110,7 @@
:label='cfg.value.title'
v-model='cfg.value.value'
color='primary'
prepend-icon='mdi-
settings
-box'
prepend-icon='mdi-
cog
-box'
:hint='cfg.value.hint ? cfg.value.hint : ""'
persistent-hint
inset
...
...
@@ -121,7 +121,7 @@
:key='cfg.key'
:label='cfg.value.title'
v-model='cfg.value.value'
prepend-icon='mdi-
settings
-box'
prepend-icon='mdi-
cog
-box'
:hint='cfg.value.hint ? cfg.value.hint : ""'
persistent-hint
:class='cfg.value.hint ? "mb-2" : ""'
...
...
@@ -132,7 +132,7 @@
:key='cfg.key'
:label='cfg.value.title'
v-model='cfg.value.value'
prepend-icon='mdi-
settings
-box'
prepend-icon='mdi-
cog
-box'
:hint='cfg.value.hint ? cfg.value.hint : ""'
persistent-hint
:class='cfg.value.hint ? "mb-2" : ""'
...
...
client/components/admin/admin-search.vue
View file @
d1dd1f19
...
...
@@ -55,7 +55,7 @@
:key='cfg.key'
:label='cfg.value.title'
v-model='cfg.value.value'
prepend-icon='mdi-
settings
-box'
prepend-icon='mdi-
cog
-box'
:hint='cfg.value.hint ? cfg.value.hint : ""'
persistent-hint
:class='cfg.value.hint ? "mb-2" : ""'
...
...
@@ -66,7 +66,7 @@
:label='cfg.value.title'
v-model='cfg.value.value'
color='primary'
prepend-icon='mdi-
settings
-box'
prepend-icon='mdi-
cog
-box'
:hint='cfg.value.hint ? cfg.value.hint : ""'
persistent-hint
inset
...
...
@@ -77,7 +77,7 @@
:key='cfg.key'
:label='cfg.value.title'
v-model='cfg.value.value'
prepend-icon='mdi-
settings
-box'
prepend-icon='mdi-
cog
-box'
:hint='cfg.value.hint ? cfg.value.hint : ""'
persistent-hint
:class='cfg.value.hint ? "mb-2" : ""'
...
...
@@ -88,7 +88,7 @@
:key='cfg.key'
:label='cfg.value.title'
v-model='cfg.value.value'
prepend-icon='mdi-
settings
-box'
prepend-icon='mdi-
cog
-box'
:hint='cfg.value.hint ? cfg.value.hint : ""'
persistent-hint
:class='cfg.value.hint ? "mb-2" : ""'
...
...
client/components/admin/admin-storage.vue
View file @
d1dd1f19
...
...
@@ -111,7 +111,7 @@
:
key
=
'cfg.key'
:
label
=
'cfg.value.title'
v
-
model
=
'cfg.value.value'
prepend
-
icon
=
'mdi-
settings
-box'
prepend
-
icon
=
'mdi-
cog
-box'
:
hint
=
'cfg.value.hint ? cfg.value.hint : ""'
persistent
-
hint
:
class
=
'cfg.value.hint ? "mb-2" : ""'
...
...
@@ -122,7 +122,7 @@
:
label
=
'cfg.value.title'
v
-
model
=
'cfg.value.value'
color
=
'primary'
prepend
-
icon
=
'mdi-
settings
-box'
prepend
-
icon
=
'mdi-
cog
-box'
:
hint
=
'cfg.value.hint ? cfg.value.hint : ""'
persistent
-
hint
inset
...
...
@@ -133,7 +133,7 @@
:
key
=
'cfg.key'
:
label
=
'cfg.value.title'
v
-
model
=
'cfg.value.value'
prepend
-
icon
=
'mdi-
settings
-box'
prepend
-
icon
=
'mdi-
cog
-box'
:
hint
=
'cfg.value.hint ? cfg.value.hint : ""'
persistent
-
hint
:
class
=
'cfg.value.hint ? "mb-2" : ""'
...
...
@@ -144,7 +144,7 @@
:
key
=
'cfg.key'
:
label
=
'cfg.value.title'
v
-
model
=
'cfg.value.value'
prepend
-
icon
=
'mdi-
settings
-box'
prepend
-
icon
=
'mdi-
cog
-box'
:
hint
=
'cfg.value.hint ? cfg.value.hint : ""'
persistent
-
hint
:
class
=
'cfg.value.hint ? "mb-2" : ""'
...
...
server/modules/authentication/ldap/authentication.js
View file @
d1dd1f19
...
...
@@ -19,6 +19,7 @@ module.exports = {
searchBase
:
conf
.
searchBase
,
searchFilter
:
conf
.
searchFilter
,
tlsOptions
:
(
conf
.
tlsEnabled
)
?
{
rejectUnauthorized
:
conf
.
verifyTLSCertificate
,
ca
:
[
fs
.
readFileSync
(
conf
.
tlsCertPath
)
]
...
...
server/modules/authentication/ldap/definition.yml
View file @
d1dd1f19
...
...
@@ -42,32 +42,37 @@ props:
type
:
Boolean
default
:
false
order
:
6
verifyTLSCertificate
:
title
:
Verify TLS Certificate
type
:
Boolean
default
:
true
order
:
7
tlsCertPath
:
title
:
TLS Certificate Path
type
:
String
hint
:
Absolute path to the TLS certificate on the server.
order
:
7
order
:
8
mappingUID
:
title
:
Unique ID Field Mapping
type
:
String
default
:
'
uid'
hint
:
The field storing the user unique identifier. Usually "uid" or "sAMAccountName".
order
:
8
order
:
20
mappingEmail
:
title
:
Email Field Mapping
type
:
String
default
:
'
mail'
hint
:
The field storing the user email. Usually "mail".
order
:
9
order
:
21
mappingDisplayName
:
title
:
Display Name Field Mapping
type
:
String
default
:
'
displayName'
hint
:
The field storing the user display name. Usually "displayName" or "cn".
order
:
10
order
:
22
mappingPicture
:
title
:
Avatar Picture Field Mapping
type
:
String
default
:
'
jpegPhoto'
hint
:
The field storing the user avatar picture. Usually "jpegPhoto" or "thumbnailPhoto".
order
:
11
order
:
23
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment