Questions tagged as 'laravel-auth'

0
answers

How to fix the error: Argument 2 passed to App \ Providers \ AuthServiceProvider

I wanted to put two policies, one for if the user already registered did not appear the anchor participate and the other if the user created the event appear the edit and delete buttons, but only works the second, as I do so Does politics partic...
asked by 09.11.2018 / 13:24
1
answer

Problems authenticating users of different types - Laravel

In my system I have two models, User and Client, each type of user will have their roles defined. Example: User: Administrator Employee Client: Manager Counter Human Resources In my file auth.php looks like this:...
asked by 26.09.2018 / 17:17
0
answers

Toggle table with auth laravel

Ask me a question: how to change the table to be consulted by laravel auth? At the moment of login you need to toggle the table to be queried since it can be a master user (which has its own table) and can be a normal user (with its own table)....
asked by 25.03.2018 / 18:17
0
answers

Change templade email sent to reset password in Laravel 5.3

I created the authentication module of my application with php artisan make:auth and the password reset method is created automatically by it, everything is working blz ... what happens is that I want to modify the view where the email is...
asked by 23.09.2017 / 05:22
0
answers

Authentication with JWT Auth and dingo API Laravel 5.4

I did an authentication with the default user model of Laravel 5.4, but now, I did the same implementation, only with a custom model, and it's not working. I get this error "message": "Undefined index: password" . Model: <?php na...
asked by 03.08.2017 / 16:11
1
answer

How to login to AUTH (Laravel) with data coming from a third party API?

I'm developing a news app in laravel 5 for a client, but it already has a working system, and wants me to use the existing database so that system users can sign in to the news app and has developed a jSON API that returns me string(74) "{"Sta...
asked by 13.05.2017 / 19:57
1
answer

How to create a custom Auth controller in Laravel 5.5?

I created a custom Auth controller in Laravel 5.5 with the action "store" inside it, then I authenticated using the auth->attempt() method that returns true . So far so good, the problem starts when I try to use the "auth" middle...
asked by 17.11.2017 / 02:31
1
answer

How to deal with multiple logins in Laravel? [duplicate]

In my application I have 3 distinct areas: Admin    Where everything is managed, authentication is currently done by Sentry (very good by the way). For this area I have the Users model that communicates with the database. Students...
asked by 14.01.2014 / 20:48