diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-11 19:48:19 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-11 19:48:19 +1300 |
commit | 47cea42e319176aa69decc43e8d8074374ff0c4b (patch) | |
tree | 604850f3300e00bdd3a33735338949f2a9d39dfe /src/org/traccar/web/client/controller | |
parent | 3defcd30d7ef7c10c82561b955c9e4e4fba789bf (diff) | |
download | trackermap-web-47cea42e319176aa69decc43e8d8074374ff0c4b.tar.gz trackermap-web-47cea42e319176aa69decc43e8d8074374ff0c4b.tar.bz2 trackermap-web-47cea42e319176aa69decc43e8d8074374ff0c4b.zip |
Add logout button
Diffstat (limited to 'src/org/traccar/web/client/controller')
-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 ceda85cf..6f3bc565 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) { |