withHashedPassword

Hashes the password of a User if it is not null.

Return

The User with a hashed password.

Author

Jan Müller
fun User.withHashedPassword(): User