mirror of
https://github.com/flarum/core.git
synced 2025-07-19 07:41:22 +02:00
added custom view, now needs translation
This commit is contained in:
@@ -15,4 +15,8 @@ use Exception;
|
|||||||
|
|
||||||
class TokenMismatchException extends Exception
|
class TokenMismatchException extends Exception
|
||||||
{
|
{
|
||||||
|
public function __construct($message = null, $code = 419, Exception $previous = null)
|
||||||
|
{
|
||||||
|
parent::__construct($message, $code, $previous);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
12
framework/core/views/error/419.blade.php
Normal file
12
framework/core/views/error/419.blade.php
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
@extends('flarum.forum::layouts.basic')
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<p>
|
||||||
|
{{ $message }}
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<a href="{{ $app->url() }}">
|
||||||
|
{{ $translator->trans('core.views.error.419_return_link', ['{forum}' => $settings->get('forum_title')]) }}
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
@endsection
|
Reference in New Issue
Block a user