Exception: SagaForge::Dashboard::AuthenticationNotConfigured
- Inherits:
-
StandardError
- Object
- StandardError
- SagaForge::Dashboard::AuthenticationNotConfigured
- Defined in:
- lib/saga_forge/dashboard/configuration.rb
Constant Summary collapse
- MESSAGE =
<<~MSG.freeze SagaForge::Dashboard has no authentication configured. Do one of: - SagaForge::Dashboard.configure { |c| c.http_basic = { username:, password: } } - SagaForge::Dashboard.configure { |c| c.authenticate { |controller| ... } } - SagaForge::Dashboard.configure { |c| c.authentication = :none } # then guard the mount yourself MSG
Instance Method Summary collapse
-
#initialize(msg = MESSAGE) ⇒ AuthenticationNotConfigured
constructor
A new instance of AuthenticationNotConfigured.
Constructor Details
#initialize(msg = MESSAGE) ⇒ AuthenticationNotConfigured
Returns a new instance of AuthenticationNotConfigured.
10 |
# File 'lib/saga_forge/dashboard/configuration.rb', line 10 def initialize(msg = MESSAGE) = super |