aboutsummaryrefslogtreecommitdiffhomepage
path: root/cli
diff options
context:
space:
mode:
authorJohannes Zellner <johannes@nebulon.de>2015-06-27 19:05:20 +0200
committerJohannes Zellner <johannes@nebulon.de>2015-06-27 19:05:20 +0200
commit591ad40c9613c91069047ca0781a4b38fd2a8a1b (patch)
tree44cf2e3d52ead38eda311c38344294789f500ce8 /cli
parentc10e69bfcf248c5e2c17b776e19c348b8acfecc7 (diff)
downloadSurfer-591ad40c9613c91069047ca0781a4b38fd2a8a1b.tar.gz
Surfer-591ad40c9613c91069047ca0781a4b38fd2a8a1b.tar.zst
Surfer-591ad40c9613c91069047ca0781a4b38fd2a8a1b.zip
Add ldap auth
Diffstat (limited to 'cli')
-rw-r--r--cli/actions.js2
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
46function login(server) { 46function 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}