Completed
Push — master ( 983e3e...f167ad )
by Reginaldo
30:40
created
app/Controller/UsuarioController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 		
31 31
 		if (count($resposta) < 1) {
32 32
 			$this->Session->setFlash('Ocorreu um erro ao logar na sua conta, verifique seus dados!');
33
-            return $this->redirect('/home/login');
33
+			return $this->redirect('/home/login');
34 34
 		}
35 35
 
36 36
 		//faz o foreach com o array de dados do usuario
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 		}
47 47
 
48 48
 		$this->Session->setFlash('Bem vindo, '.$this->Session->read('Usuario.nome').'!');
49
-        return $this->redirect('/dashboard/home');
49
+		return $this->redirect('/dashboard/home');
50 50
 	}
51 51
 
52 52
 	public function processar_logout() {
@@ -189,8 +189,8 @@  discard block
 block discarded – undo
189 189
 			)
190 190
 		);
191 191
 		
192
-    	$this->set('modulos', $this->modulos);
193
-    	$this->set('usuario', $dadosUsuario);
192
+		$this->set('modulos', $this->modulos);
193
+		$this->set('usuario', $dadosUsuario);
194 194
 	}
195 195
 
196 196
 	public function new_token() {
Please login to merge, or discard this patch.