Closed nmec closed 2 years ago
Apologies for the late reply.
That might be cool, but would complicate the plugin quite a bit. I'd rather keep it simple for now.
Note: if someone wants to tackle this, it would be a good idea to use the property-functions to manage the allowed IP list, and also switch to sigil for templating the file out.
Actually I'm just going to do this now since i'm already refactoring the plugin and it's a bit simpler than I expected to implement.
This was implemented as of 0.6.0 of the plugin :)
I'm getting the following error with version 0.6.0 by running dokku plugin:update http-auth && dokku plugin:install
:
/var/lib/dokku/plugins/enabled/http-auth/install: line 16: trigger-builder-herokuish-install: command not found
Should'nt the line https://github.com/dokku/dokku-http-auth/blob/master/install#L16 be trigger-http-auth-install "$@"
?
Fixed that, thanks for the comment!
Thank you for the quick fix!
Would it be possible to whitelist IPs so users would not need to enter a password? The following would need to be added to the conf: