While reading through the Fortify code and documentation, I found no automagic measure (e.g. in the TwoFactorAuthenticatable trait) and no hint in the documentation to add 'two_factor_secret' and 'two_factor_recovery_codes' to the User model's $hidden property.
Since damage can be avoided, I makes sense instructing users accordingly or auto-hiding these attributes.
Description:
Hi there!
While reading through the Fortify code and documentation, I found no automagic measure (e.g. in the TwoFactorAuthenticatable trait) and no hint in the documentation to add
'two_factor_secret'
and'two_factor_recovery_codes'
to theUser
model's$hidden
property.Since damage can be avoided, I makes sense instructing users accordingly or auto-hiding these attributes.