vendredi 8 avril 2016

How does Basic Authentication works specific directory in Laravel5.1?

I want to set Basic Authentication in specific views directory.

I set a htaccess file and htpasswd file in views directory, but it dosen't work.

resources--views--admin ←set them here!

I know there is a htaccess file in public directory. Should i use it to set Basic Authentication works specific directory?

Please tell me how to work Basic Authentication at specific directory in Laravel5.1.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire