diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 999155a..d570711 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,6 +3,7 @@
+
@@ -21,11 +22,11 @@
-
+
-
-
+
+
@@ -48,11 +49,11 @@
-
+
-
-
+
+
@@ -122,28 +123,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -196,19 +175,19 @@
-
+
-
+
-
+
@@ -227,6 +206,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -302,17 +302,17 @@
-
+
-
-
+
+
-
+
-
-
+
+
diff --git a/js/main.js b/js/main.js
index bbd1e70..1e6be02 100644
--- a/js/main.js
+++ b/js/main.js
@@ -12,12 +12,10 @@ jQuery(document).on('submit','#formlg',function(event){
})
.done(function (respuesta) {
console.log(respuesta);
- console.log("fuera");
if (!respuesta.error){
if (respuesta.perfil == 'Jefatura')
{
- console.log("dentor");
- //location.href = 'orion.acatlan.unam.mx/Inventario/sitio/admin/admin.php';
+ location.href = 'orion.acatlan.unam.mx/Inventario/sitio/admin/admin.php';
}
else if (respuesta.perfil == 'Area')
diff --git a/sitio/admin/admin.php b/sitio/admin/admin.php
index 4401b02..e99a485 100644
--- a/sitio/admin/admin.php
+++ b/sitio/admin/admin.php
@@ -7,7 +7,7 @@
}
}
else{
- header('Location: ../../admin.php');
+ header('Location: ../admin.php');
}
?>