From 591ad40c9613c91069047ca0781a4b38fd2a8a1b Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Sat, 27 Jun 2015 19:05:20 +0200 Subject: Add ldap auth --- cli/actions.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli') 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) { } function login(server) { + if (server[server.length-1] === '/') server = server.slice(0, -1); + console.log('Using server', server); config.set('server', server); } -- cgit v1.2.3