Skip to content

Auto Password Encoder #29066

Closed
Closed
@ben29

Description

@ben29

For password encoder we still use:
https://symfony.com/doc/current/doctrine/registration_form.html#handling-the-form-submission

why not making it auto?

by auto he will get the form password, and will encrypt it.

with using this parameters:

security:
  encoders:
    App\Entity\User:
      algorithm: bcrypt
      cost: 12

so he can know how the password will be encoded.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions