Flask - Security Best Practices
You want to secure a Flask route so only logged-in users can access it. Which approach correctly combines Flask tools to achieve this?
@app.route('/settings')
def settings():
# What should be added here?
return 'User settings page'