AshAuthentication.Errors.CannotConfirmUnconfirmedUser exception (ash_authentication v4.6.3)
View SourceAn unconfirmed user cannot be confirmed outside of explicit actions.
This can be allowed by making an action confirm a user by placing it in the auto_confirm_actions
list.
However, it is a security risk to allow unconfirmed users to be confirmed except for via the confirm
action, invoked with a token.
See the confirmation tutorial on hexdocs for more.
Summary
Functions
Create an Elixir.AshAuthentication.Errors.CannotConfirmUnconfirmedUser
without raising it.
Functions
@spec exception(opts :: Keyword.t()) :: %AshAuthentication.Errors.CannotConfirmUnconfirmedUser{ __exception__: true, bread_crumbs: term(), class: term(), confirmation_strategy: term(), path: term(), resource: term(), splode: term(), stacktrace: term(), vars: term() }
Create an Elixir.AshAuthentication.Errors.CannotConfirmUnconfirmedUser
without raising it.
Keys
- :resource
- :confirmation_strategy