Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def confirm_totp_secret(secret, code, options = {})
end

def generate_totp_secret
ROTP::Base32.random_base32
ROTP::Base32.try(:random) || ROTP::Base32.random_base32
end

def create_direct_otp(options = {})
Expand Down