Skip to content

Commit

Permalink
Setup seamless change to argon2i
Browse files Browse the repository at this point in the history
  • Loading branch information
pamil committed Jan 10, 2019
1 parent 722ba00 commit f2e6896
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 0 additions & 3 deletions config/packages/_sylius.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,3 @@ parameters:
sylius_shop:
product_grid:
include_all_descendants: true

sylius_user:
encoder: argon2i
1 change: 0 additions & 1 deletion config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ security:
id: sylius.shop_user_provider.email_or_name_based
encoders:
Sylius\Component\User\Model\UserInterface: argon2i
argon2i: argon2i
firewalls:
admin:
switch_user: true
Expand Down
7 changes: 7 additions & 0 deletions src/Sylius/Bundle/UserBundle/Resources/config/app/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# This file is part of the Sylius package.
# (c) Paweł Jędrzejewski

security:
encoders:
argon2i: argon2i

sylius_user:
encoder: argon2i

jms_serializer:
metadata:
directories:
Expand Down

0 comments on commit f2e6896

Please sign in to comment.