Создание отдельной страницы ошибки авторизации
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user