]> BookStack Code Mirror - bookstack/blobdiff - app/Console/Commands/ResetMfa.php
Apply fixes from StyleCI
[bookstack] / app / Console / Commands / ResetMfa.php
index feb477943cf55aeb0abf90404ec0542c76f11118..031bec04bf280dd451eda8755db54be322c32c81 100644 (file)
@@ -45,6 +45,7 @@ class ResetMfa extends Command
         $email = $this->option('email');
         if (!$id && !$email) {
             $this->error('Either a --id=<number> or --email=<email> option must be provided.');
+
             return 1;
         }
 
@@ -57,6 +58,7 @@ class ResetMfa extends Command
 
         if (!$user) {
             $this->error("A user where {$field}={$value} could not be found.");
+
             return 1;
         }
 
@@ -66,6 +68,7 @@ class ResetMfa extends Command
         if ($confirm) {
             $user->mfaValues()->delete();
             $this->info('User MFA methods have been reset.');
+
             return 0;
         }