Commit c014e1d9 authored by Eirik Alvær's avatar Eirik Alvær

Fixes #2067. REST API can now work with only serverURL in config.yaml

parent f75840bc
......@@ -26,9 +26,8 @@ public final class ServerHandler {
if (server != null) {
return server;
}
server = db.getServer(serverURI);
if (userId != null && password != null) {
server = db.getServer(serverURI);
server.login(userId, password);
}
return server;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment