diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 152f203..484c917 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,7 +3,6 @@
-
@@ -13,7 +12,7 @@
-
+
@@ -22,11 +21,11 @@
-
+
-
-
+
+
@@ -76,8 +75,8 @@
-
+
@@ -166,17 +165,38 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -196,7 +216,7 @@
-
+
@@ -272,13 +292,6 @@
-
-
-
-
-
-
-
@@ -286,5 +299,12 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/js/main.js b/js/main.js
index a07cd39..b177063 100644
--- a/js/main.js
+++ b/js/main.js
@@ -15,12 +15,12 @@ jQuery(document).on('submit','#formlg',function(event){
if (!respuesta.error){
console.log("despues de error");
- if (respuesta.tipo == 'Jefatura')
+ if (respuesta.perfil == 'Jefatura')
{
//location.href = '132.248.80.188/Inventario/sitio/admin/admin.php';
console.log("jefatura");
}
- else if (respuesta.tipo == 'Area')
+ else if (respuesta.perfil == 'Area')
{
location.href = '132.248.80.188/Inventario/sitio/usuario/usuario.php';
}