Completed
Pull Request — master (#14)
by Mior Muhammad Zaki
09:00
created
src/Reauthenticates.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,10 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Mpociot\Reauthenticate;
4 4
 
5
-use Carbon\Carbon;
6 5
 use Illuminate\Http\Request;
7
-use Illuminate\Support\Facades\Auth;
8
-use Illuminate\Support\Facades\Hash;
9 6
 use Illuminate\Support\Facades\Lang;
10 7
 use Illuminate\Support\Facades\Redirect;
11 8
 use Illuminate\Support\Facades\View;
Please login to merge, or discard this patch.
src/ReauthLimiter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     public function attempt($password)
53 53
     {
54
-        if (! Hash::check($password, Auth::user()->getAuthPassword())) {
54
+        if (!Hash::check($password, Auth::user()->getAuthPassword())) {
55 55
             return false;
56 56
         }
57 57
 
Please login to merge, or discard this patch.