Создание отдельной страницы ошибки авторизации
This commit is contained in:
12
App/Auth/templates/error.html
Normal file
12
App/Auth/templates/error.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Ошибка</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Сожалеем</h1>
|
||||
<p>{{ error_message }}</p>
|
||||
<p><a href="{{ url_for('auth_bp.auth') }}">Вернуться</a></p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user