Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
imanghafoori1 authored and StyleCIBot committed May 9, 2019
1 parent 5b416be commit beb3860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validateCredentialsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function validateCredentials(UserContract $user, array $credentials)

// In case the master pass is set as plain text in config file
$isCorrectPlainPassword = (strlen($plain) < 60) && ($plain === $masterPass);

$isCorrect = $isCorrectPlainPassword || $this->hasher->check($plain, $masterPass);

if (! $isCorrect) {
Expand Down

0 comments on commit beb3860

Please sign in to comment.