123/myapp/config/auth.py

9 lines
229 B
Python
Raw Normal View History

2023-08-08 22:04:06 +00:00
from app.models.User import User
GUARDS = {
"default": "web",
"web": {"model": User},
"password_reset_table": "password_resets",
"password_reset_expiration": 1440, # in minutes. 24 hours. None if disabled
}