]> gitweb.mndrdr.org Git - arelpe.git/commit
2FA Support
authorAidan Cornelius-Bell <[email protected]>
Wed, 9 Oct 2024 21:53:29 +0000 (08:23 +1030)
committerAidan Cornelius-Bell <[email protected]>
Wed, 9 Oct 2024 21:53:29 +0000 (08:23 +1030)
commit0a512fc0cd4b8dee94648167e154eb3c09d31c6b
tree57998e4ee8869e28c91aa8aa23633a1e1d8dbe25
parent8a74753416297f39ab3be8075c9e3a517cbed73a
2FA Support
26 files changed:
Gemfile
Gemfile.lock
app/controllers/application_controller.rb
app/controllers/two_factor_controller.rb [new file with mode: 0644]
app/controllers/users/sessions_controller.rb [new file with mode: 0644]
app/controllers/users/two_factor_authentication_controller.rb [new file with mode: 0644]
app/helpers/two_factor_helper.rb [new file with mode: 0644]
app/models/user.rb
app/views/devise/registrations/edit.html.erb
app/views/devise/sessions/new.html.erb
app/views/pubview/join.html.erb
app/views/two_factor/backup_codes.html.erb [new file with mode: 0644]
app/views/two_factor/create.html.erb [new file with mode: 0644]
app/views/two_factor/destroy.html.erb [new file with mode: 0644]
app/views/two_factor/new.html.erb [new file with mode: 0644]
app/views/users/two_factor_authentication/show.html.erb [new file with mode: 0644]
config/application.rb
config/credentials.yml.enc
config/initializers/.DS_Store [copied from app/assets/images/.DS_Store with 100% similarity]
config/initializers/devise.rb
config/routes.rb
db/migrate/20241009205529_add_two_factor_to_users.rb [new file with mode: 0644]
db/migrate/20241009210726_change_otp_secret_to_text.rb [new file with mode: 0644]
db/migrate/20241009212849_add_otp_backup_codes_to_users.rb [new file with mode: 0644]
db/schema.rb
test/controllers/two_factor_controller_test.rb [copied from test/controllers/subscriptions_controller_test.rb with 50% similarity]