12 lines
293 B
Python
12 lines
293 B
Python
#!/usr/bin/env python3
|
|
from __future__ import annotations
|
|
|
|
from flask_limiter import Limiter
|
|
from flask_limiter.util import get_remote_address
|
|
from flask_mail import Mail
|
|
from flask_wtf.csrf import CSRFProtect
|
|
|
|
csrf = CSRFProtect()
|
|
limiter = Limiter(key_func=get_remote_address)
|
|
mail = Mail()
|