Houdini/two_factor_authentication

Rails 6.1 deprecation warning

ch-tactica opened this issue · 0 comments

Getting the following deprecation notice when running the Rails 6 pre-release:

DEPRECATION WARNING: update_attributes is deprecated and will be removed from Rails 6.1 (please, use update instead)

Replacing update_attributes with update here should make it go away:

update_attributes(direct_otp: nil, direct_otp_sent_at: nil)

Note: The update_attributes method was renamed to use update in this pull request in 2013.