Check upload form

This commit is contained in:
Alexandre Iooss 2021-10-15 12:43:17 +02:00
parent 727387566d
commit d2fa5ce02f
5 changed files with 54 additions and 22 deletions

View file

@ -203,6 +203,7 @@ EMAIL_HOST_PASSWORD = os.getenv('EMAIL_PASSWORD', None)
# Mail will be sent from this address
SERVER_EMAIL = "photos@crans.org"
DEFAULT_FROM_EMAIL = f"Serveur photos <{SERVER_EMAIL}>"
EMAIL_SUBJECT_PREFIX = '[Serveur photos] '
# After login redirect user to transfer page
LOGIN_REDIRECT_URL = '/'