Skip to content

Commit

Permalink
🚜 Remove OTP Secret Key from Users #52
Browse files Browse the repository at this point in the history
  • Loading branch information
shrihari689 committed Apr 18, 2021
1 parent 4554732 commit acd9b2d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ gem "tailwindcss-rails", "~> 0.3.3"

gem "twilio-ruby", "~> 5.48"

gem "active_model_otp", "~> 2.1.1"

# Flexible Authentication solution
gem "devise", "~> 4.7"
Expand Down Expand Up @@ -86,4 +85,4 @@ group :test do
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
5 changes: 5 additions & 0 deletions db/migrate/20210418041813_remove_otp_secret_key_from_users.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class RemoveOtpSecretKeyFromUsers < ActiveRecord::Migration[6.1]
def change
remove_column :users, :otp_secret_key
end
end
3 changes: 1 addition & 2 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit acd9b2d

Please sign in to comment.