Closed szbk closed 1 year ago
@szbk Thanks for the PR. This looks good, but can we make this optional? I mean, if USERNAME and PASSWORD are not defined in the env, then we should directly be able to access the site.
You are right. Some may not want to use it. Especially locally I will edit and send again, is it ok?
You are right. Some may not want to use it. Especially locally I will edit and send again, is it ok?
Yes @szbk, it would be great if you modify the code accordingly.
I have optionally revised the user name and password prompt. ⚡️
@szbk will you be able to add some details about this feature to the readme, like how to setup and how to disable it?
I added the authentication directive in README.md 🔥
When running the application on the remote server, I added simple authorization to prevent others from logging in.