Commit 59ab4bc4 by David Villalba

Añado el name en la Home, no sale ya que esta por defecto vacio en el WS

parent d7fcdfe3
......@@ -67,6 +67,8 @@ class Controller_Login_Index extends Controller
if(!isset($return['status'])){
\Session::set_flash('name', current($return)->name);
Response::redirect('/dashboard');
return null;
......
......@@ -64,7 +64,7 @@
</div>
</a>
<div class="logout-home-position mt-logout-home">
<h2 class="text-welcome-home">Bienvenid@ Gema</h2>
<h2 class="text-welcome-home">Bienvenid@ {{ session_get('name') }}</h2>
<a href="auth/logout" class="btn btn-custom btn-other">Cerrar Sesión <i class="fa fa-sign-out"></i> </a>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment