Browse Source

config/app y auth para produccion.

parent
commit
545d4f2446
2 changed files with 4 additions and 4 deletions
  1. 1
    1
      app/config/app.php
  2. 3
    3
      app/controllers/AuthController.php

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

@@ -15,7 +15,7 @@ return array(
15 15
 
16 16
 	//'debug' => $_ENV['APP_DEBUG'] ?: false,
17 17
 
18
-	'debug' => true,
18
+	'debug' => false,
19 19
 	/*
20 20
 	|--------------------------------------------------------------------------
21 21
 	| 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'));