Support the ongoing development of Laravel.io →

340 Threads

auth()->attempt() throws an ErrorException when passed an array of credentials

I am trying to login a user in the latest release of Lumen. No matter whether I use auth()->attem...

0 Likes 2 Replies
Solved

Fail To Auth:attempt() in Laravel 5.1

I am newbie of laravel just authenticate 'username' and 'password' with database for successful log...

0 Likes 1 Replies
Solved

Laravel Admin Panel

I'm using stevemo/cpanel https://github.com/stevemo/cpanel for the admin panel. In the view I want t...

0 Likes 5 Replies
Solved

Forgot password fucntion

By using this Password reminders and reset in Laravel 4 tutorial I tried to add "forgot passwor...

0 Likes 1 Replies
Solved

Login with email or first_name with Sentry

Hi all, First excuse my bad english. I try to connect with first_name or email. This works well for...

0 Likes 5 Replies
Solved

Laravel 5 Builtin login with custom login

Hi I am using the build in login that ships with Laravel 5 for my admin login. I now need to add a l...

0 Likes 3 Replies
Solved

Laravel Path problem

Hello Everybody I want to say I am very impressed with laravel blade and eloquent and I come from a...

0 Likes 2 Replies
Solved

Laravel 5 Can not get authenticated user from view

I am a newbie in Laravel 5. Now i am trying to use laravel authentication service. The problem is i...

0 Likes 1 Replies
Solved

Call to undefined method AdminDashboardController::getAfterFilters() while there is not really using a filter

Hello I am getting the Call to undefined method AdminDashboardController::getAfterFilters() error wh...

0 Likes 7 Replies
Solved
posted 7 years ago

Redirecting if user already logged in

My AuthController's redirectTo property: protected $redirectTo = '/'; Here is login routes: Rou...

0 Likes 2 Replies
Solved

Old projects = bad projects :) Auth attempt is not working

Hey hou, I was assigned to an older project to make some changes. I clone it from git and run it wit...

0 Likes 8 Replies
Solved

New Auth method

Hi, I would like to use new method like this: Auth::myMethod() I know I can do it in Guard class bu...

0 Likes 3 Replies
Solved

Issue with auth in L5.1

I created a request php artisan make:request ContactFormRequest and then changed authorize() method...

0 Likes 3 Replies
Solved

Laravel 5 Custom Oauth Authentication Login

Hello guys i have a question about the Laravel Authentication. I Use Api like Github one with oauth2...

0 Likes 4 Replies
Solved

Laravel Error: Catchable fatal error: Argument 1 passed to Illuminate\Container\Container::share() must be an instance of Closure, null given

Hi there, can you please help me on this error. Here's my server requirements PHP Version - 5.4.24...

0 Likes 12 Replies
Solved

Laravel 5 action after successful login

I am wanting to use the built-in scaffolding for Auth and Login, but once a user logs in successfull...

0 Likes 3 Replies
Solved

Where to change Password Reset Link Subject?

In PasswordBroker.php -> emailResetLink an e-mail is sent to the user. The subject is "Your...

0 Likes 1 Replies
Solved

Auth::check() is not working

I am trying to authenticate users in my Laravel application. I am encountering the following problem...

0 Likes 4 Replies
Solved

Laravel Authorization Function

Hi, everyone. I am a beginner of Laravel and PHP. I do not know how the login and registration schem...

0 Likes 2 Replies
Solved

Reset passwords giving me many errors..

I tried setting up auth stuff myself (5.1 doesn't come pre-packaged with them), and I succeeded. I g...

0 Likes 1 Replies
Solved

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.