Skip to content

Commit bbec55c

Browse files
Remove 'auth' as ldp param - not needed
1 parent 6feab82 commit bbec55c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/create-server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function createServer (argv, app) {
7272
cert: cert
7373
}, argv)
7474

75-
if (ldp.webid && ldp.auth === 'tls') {
75+
if (argv.webid && argv.auth === 'tls') {
7676
credentials.requestCert = true
7777
}
7878

lib/ldp.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ const RDF_MIME_TYPES = [
3535
/**
3636
* @constructor
3737
* @param [options={}] {Object}
38-
* @param [options.auth]
3938
* @param [options.serverUri]
4039
* @param [options.dbPath]
4140
* @param [options.configPath]
@@ -54,7 +53,6 @@ const RDF_MIME_TYPES = [
5453
class LDP {
5554
constructor (options = {}) {
5655
options = Object.assign({}, defaults, options)
57-
this.auth = options.auth
5856
this.serverUri = options.serverUri
5957
this.dbPath = options.dbPath
6058
this.configPath = options.configPath

0 commit comments

Comments
 (0)