mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-21 03:30:38 +00:00
Applied stylci changes
This commit is contained in:
parent
c0f4cf4b5c
commit
9772b2f69d
2 changed files with 4 additions and 3 deletions
app
|
@ -36,9 +36,9 @@ return [
|
||||||
// Even when overridden the WYSIWYG editor may still escape script content.
|
// Even when overridden the WYSIWYG editor may still escape script content.
|
||||||
'allow_content_scripts' => env('ALLOW_CONTENT_SCRIPTS', false),
|
'allow_content_scripts' => env('ALLOW_CONTENT_SCRIPTS', false),
|
||||||
|
|
||||||
# Allow server-side fetches to be performed to potentially unknown
|
// Allow server-side fetches to be performed to potentially unknown
|
||||||
# and user-provided locations. Primarily used in exports when loading
|
// and user-provided locations. Primarily used in exports when loading
|
||||||
# in externally referenced assets.
|
// in externally referenced assets.
|
||||||
'allow_untrusted_server_fetching' => env('ALLOW_UNTRUSTED_SERVER_FETCHING', false),
|
'allow_untrusted_server_fetching' => env('ALLOW_UNTRUSTED_SERVER_FETCHING', false),
|
||||||
|
|
||||||
// Override the default behaviour for allowing crawlers to crawl the instance.
|
// Override the default behaviour for allowing crawlers to crawl the instance.
|
||||||
|
|
|
@ -53,6 +53,7 @@ class MfaBackupCodesController extends Controller
|
||||||
|
|
||||||
if (!auth()->check()) {
|
if (!auth()->check()) {
|
||||||
$this->showSuccessNotification(trans('auth.mfa_setup_login_notification'));
|
$this->showSuccessNotification(trans('auth.mfa_setup_login_notification'));
|
||||||
|
|
||||||
return redirect('/login');
|
return redirect('/login');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue