Questions tagged as 'laravel-auth'

2
answers

Authentication with two different tables

I need to do two authentications, one for other clients for admins, so I have to have two instances of auth; how to do this in Laravel, where do I have a client table and another admin table?     
asked by 14.01.2014 / 04:31
1
answer

Customizing a Laravel user model 5.4 - Login problem

I have tried everything already, but I can not solve a problem with the login system of Laravel which is this: I created a model called Usuarios , I put all the information in it that has to be properly placed, like the array $fi...
asked by 02.03.2017 / 19:31
3
answers

How to customize password recovery email (Laravel 5.4)

How can I customize the password recovery email for Laravel 5.4, I need to change the language but can not find the place to edit.     
asked by 02.03.2017 / 12:10
2
answers

How to log in only active users?

In authentication, in addition to the data required to log in, I want only those with status ativo = 1 to log in, but I do not know how to do this. table user: id username email password ativo UserController public function...
asked by 08.01.2014 / 03:44
3
answers

Customize field name in validation error messages

I am using the Laravel 5.2 authentication standard Controlller: php artisan make:auth As the names are in English, I need to change to Portuguese. I already configured the locale for Portuguese, in /config/app.php : 'locale' => 'pt-BR...
asked by 07.03.2016 / 18:55
1
answer

Laravel - Do not log in after registration ...?

How to remove automatic login after registering? I've commented the following line from the RegisterUsers file: public function register(Request $request) { $validator = $this->validator($request->all()); if ($val...
asked by 01.06.2016 / 16:45
1
answer

Redirection after login laravel 5.5

Good morning, I'm using Laravel's default authentication scafold, and reusing the structure by overwriting the methods I need to behave the way I want. I customized the default model, got it to authenticate and register, everything ok. Howeve...
asked by 13.07.2018 / 14:46
0
answers

laravel 5.4 passport - authentication 3rd party login

I have this system that I developed. It is developed in reactjs + redux + sagas in the frontend and RESTFUL API in the backend in laravel. BUT in the company where I work, there is a requirement that the login be centralized and provided by a...
asked by 23.04.2018 / 15:56
2
answers

Api Restful laravel 5.2

Hello, I'm trying to create an api in laravel 5.2 What I'm trying to do is the following: 1 - Continue using the default auth system for web user. 2 - create an api for users of an application. I am using the method: auth: api, bu...
asked by 16.06.2016 / 06:04
1
answer

Custom Laravel Authentication Hash

Next, I have a specific bank with specific columns and a specific hash method, I'm migrating to Laravel following the multi tenancy structure. I would like to know if there is any way to make laravel ignore Bcrypt and accept my Hash form?...
asked by 19.10.2018 / 15:48