File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -434,24 +434,6 @@ def init_app(with_examples=False):
434
434
log .trace ("Acceso a base de datos verificado." )
435
435
config = Configuracion .query .first ()
436
436
437
- if (
438
- config .email
439
- and config .MAIL_HOST is not None
440
- and config .MAIL_PORT is not None
441
- and config .MAIL_USERNAME is not None
442
- and config .MAIL_PASSWORD is not None
443
- ):
444
- log .trace ("Cargando configuración de correo electronico." )
445
- lms_app .config .update (
446
- {
447
- "MAIL_HOST" : config .MAIL_HOST ,
448
- "MAIL_PORT" : config .MAIL_PORT ,
449
- "MAIL_USERNAME" : config .MAIL_USERNAME ,
450
- "MAIL_PASSWORD" : descifrar_secreto (config .MAIL_PASSWORD ),
451
- "MAIL_USE_TLS" : config .MAIL_USE_TLS ,
452
- "MAIL_USE_SSL" : config .MAIL_USE_SSL ,
453
- }
454
- )
455
437
if DESARROLLO :
456
438
lms_app .config .update ({"MAIL_BACKEND" : "dummy" })
457
439
You can’t perform that action at this time.
0 commit comments