bug fix
This commit is contained in:
parent
d1017a53ea
commit
379a4525e0
@ -23,6 +23,6 @@ class LoginController extends Controller
|
||||
return back()->with("message", "Wrong credentials");
|
||||
}
|
||||
|
||||
return redirect()->route("posts.index");
|
||||
return redirect()->route("posts.index", auth()->user()->username);
|
||||
}
|
||||
}
|
||||
|
@ -32,7 +32,7 @@
|
||||
Crear
|
||||
</a>
|
||||
|
||||
<a class="font-bold text-gray-600 text-sm" href="#">
|
||||
<a class="font-bold text-gray-600 text-sm" href="{{ route('posts.index', auth()->user()->username) }}">
|
||||
Hello, <span class="font-normal">{{ auth()->user()->username }}</span>
|
||||
</a>
|
||||
<form action="{{ route('logout') }}" method="POST">
|
||||
|
Loading…
x
Reference in New Issue
Block a user