DevMarketer / multiauth_tutorial

156 stars 83 forks source link

how to login into admin panel #25

Open kamleshwebtech opened 5 years ago

kamleshwebtech commented 5 years ago

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 commented 5 years ago

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', 'admin@admin.com', 'Admin', '$2y$10$F.NvVlkEWphdqY/egcoP5uyGBZKk63X18YkYmxHIYdZ8Tbdg59wBK', NULL, '2019-01-31 00:00:00', '2019-01-31 00:00:00'); Thanks again :)

BippyMiester commented 4 years ago

This issue seems to be fixed. Requesting a close. @jacurtis