Создание отдельной страницы ошибки авторизации

This commit is contained in:
Anton Kamalov
2024-10-22 22:09:02 +03:00
parent 9f113c1603
commit e2684ed2a3
3 changed files with 14 additions and 2 deletions

View File

@@ -27,4 +27,4 @@ def auth():
})
return redirect(url_for('index'))
else:
return auth_data.error_message
return render_template('error.html', error_message=auth_data.error_message)