AshAuthentication.Strategy.RecoveryCode.HashRecoveryCodesChange (ash_authentication v5.0.0-rc.5)

Copy Markdown View Source

Change that hashes recovery codes before storage.

Reads plaintext codes from the :recovery_codes argument, hashes them using the configured hash provider, and replaces the argument with hashed values. The plaintext codes are returned via action metadata.