57269b1b9c
You can touch `tmp/local-auth.txt` to persist this setting.
10 lines
245 B
Ruby
10 lines
245 B
Ruby
module User::SignalUser
|
|
extend ActiveSupport::Concern
|
|
|
|
included do
|
|
unless Rails.application.config.x.local_authentication
|
|
belongs_to :signal_user, dependent: :destroy, class_name: "SignalId::User", optional: true
|
|
end
|
|
end
|
|
end
|