diff options
Diffstat (limited to 'src/org/traccar/web/client/controller/LoginController.java')
-rw-r--r-- | src/org/traccar/web/client/controller/LoginController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/web/client/controller/LoginController.java b/src/org/traccar/web/client/controller/LoginController.java index ceda85c..6f3bc56 100644 --- a/src/org/traccar/web/client/controller/LoginController.java +++ b/src/org/traccar/web/client/controller/LoginController.java @@ -43,7 +43,7 @@ public class LoginController implements LoginDialog.LoginHandler { @Override public void onLogin(String login, String password) { if (validate(login, password)) { - Application.getDataService().authenticate(login, password, new BaseAsyncCallback<Boolean>() { + Application.getDataService().login(login, password, new BaseAsyncCallback<Boolean>() { @Override public void onSuccess(Boolean result) { if (result) { |