multiauth_tutorial
multiauth_tutorial copied to clipboard
problem with Admin table
it always take user and admin login info from users table not admins table. how to solve it Thanks
How to add admin account in admins table so that i can login into admin panel. Now system always creates an account of user. Please check and suggest me how to check admin panel. Thanks a lot!
i have added a record in admins table, now i am able to login into admin account.
INSERT INTO admins (id, name, email, job_title, password, remember_token, created_at, updated_at) VALUES (NULL, 'adminuser', '[email protected]', 'Admin', '$2y$10$F.NvVlkEWphdqY/egcoP5uyGBZKk63X18YkYmxHIYdZ8Tbdg59wBK', NULL, '2019-01-31 00:00:00', '2019-01-31 00:00:00');
it always take user and admin login info from users table not admins table. how to solve it Thanks
Make sure that you are defining your guards correctly. You can reference this file for more information.