Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Auth no longer works #19

Open
DB-009 opened this issue Jun 10, 2019 · 2 comments
Open

Basic Auth no longer works #19

DB-009 opened this issue Jun 10, 2019 · 2 comments

Comments

@DB-009
Copy link

DB-009 commented Jun 10, 2019

I tried to get basic auth working but im getting errors now any idea why? where you able to get it working i get

"The page has expired due to inactivity.

Please refresh and try again."

@paulduca
Copy link
Contributor

paulduca commented Jun 10, 2019

Did you run php artisan key:generate?
Also, make sure you have added this to your .env file:
ADMIN_ROLE_NAME=administrator
CLIENT_ROLE_NAME=client

Otherwise, after running php artisan make:auth you can login from the front-end http://url/login

@DB-009
Copy link
Author

DB-009 commented Jun 10, 2019

hmm I must have done something wrong the first time around seems to work now! thanks! I think it was because I manually copied the auth controllers and views in then ran make auth first time. it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants