Browse Source

Arreglar el debug y auth

parent
commit
fa6f555f4f
2 changed files with 5 additions and 5 deletions
  1. 2
    2
      app/config/app.php
  2. 3
    3
      app/controllers/AuthController.php

+ 2
- 2
app/config/app.php View File

@@ -15,8 +15,8 @@ return array(
15 15
 
16 16
 	//'debug' => $_ENV['APP_DEBUG'] ?: false,
17 17
 
18
-	'debug' => true,
19
-	//'debug' => false,
18
+	//'debug' => true,
19
+	'debug' => false,
20 20
 	/*
21 21
 	|--------------------------------------------------------------------------
22 22
 	| Application URL

+ 3
- 3
app/controllers/AuthController.php View File

@@ -28,9 +28,9 @@ class AuthController extends \BaseController
28 28
 
29 29
 		if (!$validator->fails()) {
30 30
 			//			TODO: Remove this for production environment
31
-			if (App::environment('local', 'staging')) {
32
-				return $this->processLogin();
33
-			}
31
+			//if (App::environment('local', 'staging')) {
32
+			//	return $this->processLogin();
33
+			//}
34 34
 			try {
35 35
 				// User input
36 36
 				$username = str_replace('@upr.edu', '', Input::get('email'));