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