Homekolab.org
Diffusion kolab 40535cb048f8

Use password command

Authored by mollekopf on Aug 20 2021, 2:40 PM.

Description

Use password command

Differential Revision: https://git.kolab.org/D2797

Details

Committed
mollekopfNov 2 2021, 10:21 AM
Pushed
mollekopfNov 2 2021, 10:21 AM
Differential Revision
D2797: User password command to set a users password
Parents
rK46ea5b44cd09: My pdf output is only 2696 bytes long
Branches
Unknown
Tags
Unknown
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Event Timeline

machniak added inline comments.
/src/app/Console/Commands/User/PasswordCommand.php
39

This is Laravel's mutator magic. You should just assign the password to $user->password and not use setPasswordAttribute().