multiauth_tutorial icon indicating copy to clipboard operation
multiauth_tutorial copied to clipboard

problem with Admin table

Open ullash099 opened this issue 7 years ago • 3 comments
trafficstars

it always take user and admin login info from users table not admins table. how to solve it Thanks

ullash099 avatar Jul 05 '18 14:07 ullash099

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!

kamleshwebtech avatar Jan 31 '19 16:01 kamleshwebtech

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');

kamleshwebtech avatar Jan 31 '19 16:01 kamleshwebtech

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.

BippyMiester avatar Oct 15 '19 02:10 BippyMiester