Add Option to Add HTTP Auth (.htaccess)
Summary added by @rahul286:
Add --auth option like ee site create example.com --auth command.
- [ ] only
--authwill use same HTTP user and password as admin tools - [ ]
--authwith--httpuserand--httppasswill create new HTTP user and password for that site - [ ] Add above to
ee site updatecommand as well
Please add a Option to enable HTTP Auth Process eg.
ee site create example.com --wp --auth
- or -
ee auth create example.com
The First one will create a WP Instance (also changeable with other WP Options) and the required ".htaccess" Stuff.
The Second one will create Authentifaction Credentials for example.com (and will through an error if the site does not exist). Other Commands (e.g the same as the "subcommand" for the "site" command)
enable -> to enable Authentification (only if was generated Previously) disable -> to disable Authentification delete -> to complete Delete Authenification add -> to create new Authenfication Credential set (for n-th user)
Standardusername can be changed in the Config file like WP Admin Name same goes for the Password
This can be closed. With the latest addion of the Secure Module
@jfschubert new secure command only adds HTTP auth to EasyEngine admin area.
It does not cover HTTP auth for EasyEngine/Nginx sites. That will require some manual work for now.
I thought just to clarify in-case there is some misunderstanding.
@rahul286 i just noticed that you are correct. I will reopen this and need to get some sleep.
Similar to #342
Will be handled in https://github.com/EasyEngine/easyengine/issues/1119