isLocal() && env('ALLOW_QUICK_LOGIN', false), 403); $user = User::withoutGlobalScopes()->where('email', $email)->firstOrFail(); auth()->login($user); $this->redirect('/dashboard'); } public function render() { $users = User::withoutGlobalScopes()->get(['id', 'name', 'email', 'uuid']); return view('livewire.dev-quick-login', compact('users')); } }