diff options
Diffstat (limited to 'web/app/LoginManager.js')
-rw-r--r-- | web/app/LoginManager.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/app/LoginManager.js b/web/app/LoginManager.js index 02e6e835b..c18d6cb44 100644 --- a/web/app/LoginManager.js +++ b/web/app/LoginManager.js @@ -29,9 +29,10 @@ }, onServerReturn: function (options, success, response) { + var result; options = options.original; if (Traccar.ErrorManager.check(success, response)) { - var result = Ext.decode(response.responseText); + result = Ext.decode(response.responseText); if (result.success) { Traccar.app.setServer(result.data); } |