Toggle table with auth laravel

0

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). In the login, the auth will have to search the email and the password in the usuario_master table, if it does not find it, it searches the users table. How to switch in this way?

    
asked by anonymous 25.03.2018 / 18:17

0 answers