{% from "macros/msg_handlers.html" import login_msg_handler with context %} {{ login_msg_handler(error) }}