diff options
| author | Pitu <[email protected]> | 2017-01-31 03:37:17 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-01-31 03:37:17 -0300 |
| commit | 999c148dff3d27e4a4d5b59d6408a015c2922320 (patch) | |
| tree | 1e4b2e75c51835274e655a5c2a491610bc5ad3d0 /public/js/auth.js | |
| parent | Added FAQ (diff) | |
| download | host.fuwn.me-999c148dff3d27e4a4d5b59d6408a015c2922320.tar.xz host.fuwn.me-999c148dff3d27e4a4d5b59d6408a015c2922320.zip | |
Changed /panel to /dashboard
Diffstat (limited to 'public/js/auth.js')
| -rw-r--r-- | public/js/auth.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/auth.js b/public/js/auth.js index 68cf9e3..ecc7c7c 100644 --- a/public/js/auth.js +++ b/public/js/auth.js @@ -20,7 +20,7 @@ page.do = function(dest){ return swal('Error', response.data.description, 'error'); localStorage.token = response.data.token; - window.location = '/panel'; + window.location = '/dashboard'; }) .catch(function (error) { @@ -41,7 +41,7 @@ page.verify = function(){ if(response.data.success === false) return swal('Error', response.data.description, 'error'); - window.location = '/panel'; + window.location = '/dashboard'; }) .catch(function (error) { |