lib/softwear/auth/model.rb in softwear-lib-1.8.9 vs lib/softwear/auth/model.rb in softwear-lib-1.9.0
- old
+ new
@@ -1,10 +1,10 @@
require 'softwear/auth/standard_model'
require 'softwear/auth/stubbed_model'
module Softwear
module Auth
- if Rails.env.development? && ENV['AUTH_SERVER'].blank?
+ if Rails.env.development? && ENV['AUTH_SERVER'] != 'true'
class Model < StubbedModel
STUBBED = true
end
else
class Model < StandardModel