Method: Auth::TwoFactorOtp#log_error_to_redis
- Defined in:
- lib/auth/two_factor_otp.rb
#log_error_to_redis(error) ⇒ Object
128 129 130 131 |
# File 'lib/auth/two_factor_otp.rb', line 128 def log_error_to_redis(error) #puts "redis error is:#{error}" $redis.hset(resource.id.to_s + "_two_factor_sms_otp","error",error) end |