diff options
author | Johannes Zellner <johannes@nebulon.de> | 2015-06-27 19:05:20 +0200 |
---|---|---|
committer | Johannes Zellner <johannes@nebulon.de> | 2015-06-27 19:05:20 +0200 |
commit | 591ad40c9613c91069047ca0781a4b38fd2a8a1b (patch) | |
tree | 44cf2e3d52ead38eda311c38344294789f500ce8 /cli | |
parent | c10e69bfcf248c5e2c17b776e19c348b8acfecc7 (diff) | |
download | Surfer-591ad40c9613c91069047ca0781a4b38fd2a8a1b.tar.gz Surfer-591ad40c9613c91069047ca0781a4b38fd2a8a1b.tar.zst Surfer-591ad40c9613c91069047ca0781a4b38fd2a8a1b.zip |
Add ldap auth
Diffstat (limited to 'cli')
-rw-r--r-- | cli/actions.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/actions.js b/cli/actions.js index 36296ae..b35b8da 100644 --- a/cli/actions.js +++ b/cli/actions.js | |||
@@ -44,6 +44,8 @@ function collectFiles(filesOrFolders) { | |||
44 | } | 44 | } |
45 | 45 | ||
46 | function login(server) { | 46 | function login(server) { |
47 | if (server[server.length-1] === '/') server = server.slice(0, -1); | ||
48 | |||
47 | console.log('Using server', server); | 49 | console.log('Using server', server); |
48 | config.set('server', server); | 50 | config.set('server', server); |
49 | } | 51 | } |