From 999c148dff3d27e4a4d5b59d6408a015c2922320 Mon Sep 17 00:00:00 2001 From: Pitu Date: Tue, 31 Jan 2017 03:37:17 -0300 Subject: Changed /panel to /dashboard --- public/js/auth.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/js/auth.js') 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) { -- cgit v1.2.3