Most voted "laravel-auth" questions
Enables the implementation of authentication in Laravel in a very simple way. Use this tag for questions about problems with the Laravel authentication component.
Learn more…17 questions
Sort by count of
-
9
votes2
answers952
viewsAuthentication with two different tables
I need to do two authentications, one for clients another for administrators, so I have to have two instance of auth; how to do this in Laravel, where I have a client table and another for…
-
8
votes2
answers927
viewsHow to log only active users?
In authentication beyond the data needed to log in the user, I want only those who are in status ativo = 1 log in, but I don’t know how to do this check. table user: id username email password ativo…
-
7
votes3
answers6007
viewsHow to Customize Password Recovery Email (Laravel 5.4)
As I can customize the Laravel 5.4 password recovery email, I need to change the language but can’t find the place to edit.
-
7
votes1
answer4876
viewsCustomizing a user model Laravel 5.4 - Login problem
I tried everything already, but I can’t solve a problem in the login system Laravel which is this: I created a model called Usuarios, I put all the information in it that has to be properly placed,…
-
3
votes3
answers3733
viewsCustomize field name in validation error messages
I’m using the Laravel 5.2 Standard Authentication Controller: php artisan make:auth As the names are in English, I need to change to Portuguese. I have already set the locale to Portuguese, in…
-
2
votes1
answer559
viewsLaravel - Not log in after registration....?
How to remove automatic login after registering? I commented the following line from the Registerusers file: public function register(Request $request) { $validator =…
-
1
votes1
answer123
viewsCustomizing Laravel Authentication Hash
Next, I have a specific database with specific columns and a specific Hash method, I am migrating to the following Laravel multi-tenancy structure. I would like to know if there is any way to make…
-
1
votes2
answers499
viewsApi Restful Lockable 5.2
Hello, I am trying to create an api in Laravel 5.2 what I’m trying to do is this: 1 - continue using default auth system for web user. 2 - create an api for users of an application. I am using the…
-
1
votes0
answers85
viewsLaravel 5.4 Passport - Authentication 3rd party login
I have this system that I developed. It is developed in reactjs + Redux + sagas in frontend and RESTFUL API in backend in Laravel. BUT in the company in which I work there is a requirement that the…
-
1
votes1
answer696
viewsRedirect after login Standard 5.5
Good morning, I’m using Laravel’s standard authentication scafold, and repurposing the structure by overriding the methods I need for you to behave the way I want you to. I customized the default…
-
0
votes1
answer592
viewsHow do I log into the AUTH (Laravel) with data from a third-party API ?
I am developing a news application in Laravel 5 for a client, but it already has a system in operation, and wants me to use the existing database so that system users can log in to the news app and…
-
0
votes0
answers542
viewsAuthentication with JWT Auth and dingo Laravel API 5.4
I authenticated with the standard user model of Laravel 5.4, but now, I did the same implementation, only with a custom model, and it’s not working. Give me back that mistake "message": "Undefined…
-
0
votes0
answers512
viewsChange sent email templade to reset password in Laravel 5.3
I created the authentication module for my application with php artisan make:auth and the password reset method is created automatically by him, ta everything running blz... what happens is that I…
-
0
votes1
answer1753
viewsHow to create a custom Auth controller in Laravel 5.5?
I created a custom Auth controller in Laravel 5.5 with the "store" action inside it, then I authenticated using the method auth->attempt() returning true. So far so good, the problem starts when…
-
0
votes2
answers198
viewsLaravel Authorization for Multi Authentication
I have an ACL app for Laravel where I have two sessions(Guards), one for users and another to admins. The configuration of Guards auth.php file looks like this: 'guards' => [ 'web' => […
-
0
votes1
answer203
viewsProblems authenticating users of different types - Laravel
In my system I have two models, the User (User) and the Client (Client), each type of user will have their roles defined. Example: User: Administrator Official Client: Manager Accountant Human…
-
-2
votes1
answer517
viewsHow to deal with multiple login areas in Laravel?
In my application I have 3 distinct areas: Admin Where everything is managed, currently the authentication is done by Sentry (very good by the way). For this area I have the Users model that…