struct

KemalIdentity::Accounts::ActionRejected

Inherits Struct < Value < Object

The link did not work, or the new password was not acceptable.

Unlike a failed login, this is safe to render specifically. The person holding a reset link already has it; telling them their new password is too short reveals nothing about who exists, and refusing without saying why makes the form unusable.

Constructors

new(reason : Reason, policy_violations : Array(Passwords::PolicyViolation) = [] of Passwords::PolicyViolation)
Source

Instance methods

policy_violations
Source
reason
Source

Nested types