Rename login component

This commit is contained in:
philipp lang 2022-02-12 14:58:47 +01:00
parent 5f1621b700
commit 2cadb0d7c3
2 changed files with 3 additions and 2 deletions
app/Http/Controllers/Auth
resources/js/views

View File

@ -4,6 +4,7 @@ namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use Inertia\Response;
use Zoomyboy\LaravelNami\AuthenticatesNamiUsers;
class LoginController extends Controller
@ -38,7 +39,7 @@ class LoginController extends Controller
$this->middleware('guest')->except('logout');
}
public function showLoginForm() {
return \Inertia::render('Login');
public function showLoginForm(): Response {
return \Inertia::render('VLogin');
}
}