You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i would like to skip it if .test? or .development? so that means .production? or any other environment would have it active.
additionally i would like to http_auth if ENV["MISSION_CONTROL_JOBS_USER"] && ENV["MISSION_CONTROL_JOBS_PASSWORD"] is set, regardless of environment.
So either you set it via ENV and it's active, or you can set it via http_auth option while mounting.
I'm just exploring if that syntax make sense and the PR would get merged? Otherwise i don't need to spend time on that ;-)
// edit: i realized that options provided are actually for mount and won't be forwarded to the engine.
i'll just do ENV and config support
The text was updated successfully, but these errors were encountered:
While we can inherit from our own BaseController to implement authentication, i wanted to provide an easy
http_auth
way.i thought about the following syntax:
i would like to skip it if
.test?
or.development?
so that means.production?
or any other environment would have it active.additionally i would like to http_auth if
ENV["MISSION_CONTROL_JOBS_USER"]
&&ENV["MISSION_CONTROL_JOBS_PASSWORD"]
is set, regardless of environment.So either you set it via
ENV
and it's active, or you can set it viahttp_auth
option while mounting.I'm just exploring if that syntax make sense and the PR would get merged? Otherwise i don't need to spend time on that ;-)
// edit: i realized that options provided are actually for
mount
and won't be forwarded to the engine.i'll just do
ENV
andconfig
supportThe text was updated successfully, but these errors were encountered: