Getting there with Devise MFA

This commit is contained in:
2024-05-21 10:13:05 +01:00
parent 32a06d8c61
commit 95675aa5ef
10 changed files with 34 additions and 75 deletions

6
db/schema.rb generated
View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.0].define(version: 2023_06_21_060115) do
ActiveRecord::Schema[7.1].define(version: 2024_05_21_090545) do
create_table "credentials", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
t.string "email"
t.string "password"
@@ -42,6 +42,10 @@ ActiveRecord::Schema[7.0].define(version: 2023_06_21_060115) do
t.datetime "locked_at"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "webauthn_id"
t.string "otp_secret"
t.integer "consumed_timestep"
t.boolean "otp_required_for_login"
t.index ["email"], name: "index_users_on_email", unique: true
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
t.index ["unlock_token"], name: "index_users_on_unlock_token", unique: true