Answer the question
In order to leave comments, you need to log in
How to hardcode login and password in HTTP BASIC authentication?
I can not understand how this authentication works. You need to hardcode your username and password.
laravel.su/docs/5.0/authentication#http-basic-auth...
Answer the question
In order to leave comments, you need to log in
What exactly is unclear?
The usual Basic Auth authorization is used, the login and password are taken from the database (as with normal authorization).
If you need to "hard" set the login \ password, then you can write your own implementation of basic auth, or simply add a rule to .htaccess and put .htpassword somewhere.
This authorization works through mail-password in the database.
You need to use htpasswd (apache-utils) and nginx to create a standard http basic authorization.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question