diff --git a/lib/towerops/accounts/login_attempt.ex b/lib/towerops/accounts/login_attempt.ex index 4477df22..b3de223d 100644 --- a/lib/towerops/accounts/login_attempt.ex +++ b/lib/towerops/accounts/login_attempt.ex @@ -16,8 +16,8 @@ defmodule Towerops.Accounts.LoginAttempt do @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id - @valid_methods ~w(password magic_link webauthn mobile_qr) - @valid_failure_reasons ~w(invalid_credentials invalid_totp invalid_magic_link invalid_passkey account_disabled) + @valid_methods ~w(password magic_link mobile_qr) + @valid_failure_reasons ~w(invalid_credentials invalid_totp invalid_magic_link account_disabled) schema "login_attempts" do field :email, :string @@ -46,7 +46,7 @@ defmodule Towerops.Accounts.LoginAttempt do ## Required fields - `:success` - Boolean indicating if login was successful - - `:method` - Login method (password, magic_link, webauthn, mobile_qr) + - `:method` - Login method (password, magic_link, mobile_qr) - `:ip_address` - IP address of the login attempt ## Conditional validation diff --git a/lib/towerops_web/controllers/api_docs_html/index.html.heex b/lib/towerops_web/controllers/api_docs_html/index.html.heex index 2d597a7c..8f113fd4 100644 --- a/lib/towerops_web/controllers/api_docs_html/index.html.heex +++ b/lib/towerops_web/controllers/api_docs_html/index.html.heex @@ -1178,7 +1178,6 @@ curl -X DELETE https://towerops.net/api/v1/devices/650e8400-e29b-41d4-a716-44665