Method: Auth::TwoFactorOtp#clear_redis_user_otp_hash
- Defined in:
- lib/auth/two_factor_otp.rb
#clear_redis_user_otp_hash ⇒ Object
133 134 135 136 |
# File 'lib/auth/two_factor_otp.rb', line 133 def clear_redis_user_otp_hash #puts "--came to clear redis otp hash." $redis.del(resource.id.to_s + "_two_factor_sms_otp") end |