Passed
Pull Request — main (#5039)
by Bernard
09:03
created
app/User.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -289,8 +289,8 @@
 block discarded – undo
289 289
     public function check2facode(string $code2fa): bool
290 290
     {
291 291
         $secret = DB::table('user')
292
-             ->where('user_id', '=', $this->id())
293
-             ->value('secret');
292
+                ->where('user_id', '=', $this->id())
293
+                ->value('secret');
294 294
         $google2fa = new Google2FA();
295 295
         if ($google2fa->verifyKey($secret, $code2fa)) {
296 296
             return true;
Please login to merge, or discard this patch.