소스 검색

crytp password

Vincent 2 년 전
부모
커밋
b833faf270
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 0
      config/packages/docker/security.yaml
  2. 1 1
      config/packages/security.yaml

+ 4 - 0
config/packages/docker/security.yaml

@@ -0,0 +1,4 @@
+security:
+    encoders:
+        App\Entity\Person\Person:
+            algorithm: plaintext

+ 1 - 1
config/packages/security.yaml

@@ -121,7 +121,7 @@ security:
 
     encoders:
         App\Entity\Person\Person:
-            algorithm: plaintext
+            algorithm: bcrypt
 
     # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
     providers: