elic-dev/laravel-site-protection

How to disable site protection

Closed this issue · 2 comments

temwa commented

Going through your documentation, I do not see an option to disable site protection.

Please advise.

Thanks

L1lle commented

Hi @temwa ,

You can disable it by not setting a password in your .env file for SITE_PROTECTION_PASSWORDS.

I'll adjust the readme.md file .

The common approach is to set a password in your .env file only on develop, staging or preview versions. Your production site does not have a password.

temwa commented

@L1lle , Thank you