Skip to content

NOW MANAGED ON CODEBERG

Applied stylci changes

Dan Brown9772b2f69d6c
diff --git a/app/Config/app.php b/app/Config/app.php
index 6f1901065..120644aed 100755
--- a/app/Config/app.php
+++ b/app/Config/app.php
@@ -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.
diff --git a/app/Http/Controllers/Auth/MfaBackupCodesController.php b/app/Http/Controllers/Auth/MfaBackupCodesController.php
index c60dbca20..d92029bf1 100644
--- a/app/Http/Controllers/Auth/MfaBackupCodesController.php
+++ b/app/Http/Controllers/Auth/MfaBackupCodesController.php
@@ -53,6 +53,7 @@ class MfaBackupCodesController extends Controller
if (!auth()->check()) {
$this->showSuccessNotification(trans('auth.mfa_setup_login_notification'));
+
return redirect('/login');
}