Password field always encrypted #128
Unanswered
lucabecchetti
asked this question in
Q&A
Replies: 1 comment
-
Hi @lucabecchetti, I tried to reproduce but couldn't, both fields are unencrypted when required, could you provide me a reproduced version of this problem? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have to encrypted fieldS:
User and Password, i see them encrypted inside the database, and WHEN i use class from tinker, just user is in clear:
I need encrypted data when i use the class, why just one is encrypted?
public ?string $mail_username; public ?string $mail_password; /** * @return string[] */ public static function encrypted(): array { return [ 'mail_password', 'mail_username' ]; }
$this->migrator->addEncrypted('email.mail_username', null); $this->migrator->addEncrypted('email.mail_password', null);
Beta Was this translation helpful? Give feedback.
All reactions