Exception: ChronoForge::Dashboard::AuthenticationNotConfigured
- Inherits:
-
StandardError
- Object
- StandardError
- ChronoForge::Dashboard::AuthenticationNotConfigured
- Defined in:
- lib/chrono_forge/dashboard/configuration.rb
Constant Summary collapse
- MESSAGE =
<<~MSG.freeze ChronoForge::Dashboard has no authentication configured. Do one of: - ChronoForge::Dashboard.configure { |c| c.http_basic = { username:, password: } } - ChronoForge::Dashboard.configure { |c| c.authenticate { |controller| ... } } - ChronoForge::Dashboard.configure { |c| c.authentication = :none } # then guard the mount with your own routing constraint 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/chrono_forge/dashboard/configuration.rb', line 10 def initialize(msg = MESSAGE) = super |