Hi all! I am trying to use onetime backup codes feature, but it is not working as expected. Not sure if it is a bug or I missed anything. Any help will be appreciated. Thanks!
ah, I noticed Then use array type in schema or serialize attribute in model as Array (depending on used db type). After changing backup codes column to array of text, it works perfectly now.
Hi all! I am trying to use onetime backup codes feature, but it is not working as expected. Not sure if it is a bug or I missed anything. Any help will be appreciated. Thanks!
From https://github.com/heapsource/active_model_otp/blob/fb8b178ad6fa374210b6dc66b62a8125eb013a48/lib/active_model/one_time_password.rb#L203-L207, it should remove that used onetime back up code, but it is still there.