aboutsummaryrefslogtreecommitdiffhomepage
path: root/api/Posts/Repositories/PostRepository.php
diff options
context:
space:
mode:
authorMarvin Borner2018-08-29 01:10:32 +0200
committerMarvin Borner2018-08-29 01:10:32 +0200
commitfe04289cb5b1ade0b68b64d2b9a3bd2a7c9a6030 (patch)
tree0dad4f912e7a386671d4155a02b970200d2d8535 /api/Posts/Repositories/PostRepository.php
parent756b8ed44aa077a87c336d4a03f61e53f18eca66 (diff)
Removed password hashing from postRepository (what was that even doing in there?)
Diffstat (limited to 'api/Posts/Repositories/PostRepository.php')
-rw-r--r--api/Posts/Repositories/PostRepository.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/api/Posts/Repositories/PostRepository.php b/api/Posts/Repositories/PostRepository.php
index 671412f..9954af9 100644
--- a/api/Posts/Repositories/PostRepository.php
+++ b/api/Posts/Repositories/PostRepository.php
@@ -16,8 +16,6 @@ class PostRepository extends Repository
{
$post = $this->getModel();
- $data['password'] = password_hash($data['password'], PASSWORD_BCRYPT);
-
$post->fill($data);
$post->save();