98755844a1
* Bind sessions to identities * Remove references to the identity token * Move email changes to identity * Move account menu into a turbo-frame * Create tenants from a tenanted route
12 lines
389 B
Ruby
12 lines
389 B
Ruby
module Restricted
|
|
extend ActiveSupport::Concern
|
|
|
|
included do
|
|
unless Rails.env.development?
|
|
http_basic_authenticate_with \
|
|
name: Rails.env.test? ? "testname" : Rails.application.credentials.account_signup_http_basic_auth.name,
|
|
password: Rails.env.test? ? "testpassword" : Rails.application.credentials.account_signup_http_basic_auth.password
|
|
end
|
|
end
|
|
end
|