]> BookStack Code Mirror - bookstack/commitdiff
Applied stylci changes
authorDan Brown <redacted>
Tue, 31 Aug 2021 21:03:51 +0000 (22:03 +0100)
committerDan Brown <redacted>
Tue, 31 Aug 2021 21:03:51 +0000 (22:03 +0100)
app/Config/app.php
app/Http/Controllers/Auth/MfaBackupCodesController.php

index 6f1901065a9e179bcedebf55237bc3945bd81907..120644aede9b3e048e38120719ff10a4a92549eb 100755 (executable)
@@ -36,9 +36,9 @@ return [
     // Even when overridden the WYSIWYG editor may still escape script content.
     'allow_content_scripts' => env('ALLOW_CONTENT_SCRIPTS', false),
 
-    # Allow server-side fetches to be performed to potentially unknown
-    # and user-provided locations. Primarily used in exports when loading
-    # in externally referenced assets.
+    // Allow server-side fetches to be performed to potentially unknown
+    // and user-provided locations. Primarily used in exports when loading
+    // in externally referenced assets.
     'allow_untrusted_server_fetching' => env('ALLOW_UNTRUSTED_SERVER_FETCHING', false),
 
     // Override the default behaviour for allowing crawlers to crawl the instance.
index c60dbca209d6ef483323a39f2ae7dd3947ab997b..d92029bf1b7f326924558c21824b168b6d3583d8 100644 (file)
@@ -53,6 +53,7 @@ class MfaBackupCodesController extends Controller
 
         if (!auth()->check()) {
             $this->showSuccessNotification(trans('auth.mfa_setup_login_notification'));
+
             return redirect('/login');
         }