diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/web/client/controller/SettingsController.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/web/client/controller/SettingsController.java b/src/org/traccar/web/client/controller/SettingsController.java index f8fcc72d..e05afb55 100644 --- a/src/org/traccar/web/client/controller/SettingsController.java +++ b/src/org/traccar/web/client/controller/SettingsController.java @@ -97,6 +97,10 @@ public class SettingsController implements DeviceView.SettingsHandler { public void onSuccess(User result) { userStore.add(result); } + @Override + public void onFailure(Throwable caught) { + new AlertMessageBox("Error", "Username is already taken").show(); + } }); } }).show(); |