feat: add validation for production SSH credentials in deployment workflow
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 3m25s
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 3m25s
This commit is contained in:
@@ -148,8 +148,8 @@ def send_reset_password_email(to_email: str, token: str) -> None:
|
|||||||
return
|
return
|
||||||
Mail(current_app).send(msg)
|
Mail(current_app).send(msg)
|
||||||
print(f"[EMAIL to {to_email}] Reset password: {reset_url}")
|
print(f"[EMAIL to {to_email}] Reset password: {reset_url}")
|
||||||
except Exception:
|
except Exception as e:
|
||||||
print(f"Failed to send email to {to_email}. Reset link: {reset_url}")
|
print(f"Failed to send email to {to_email}. Reset link: {reset_url}. exception: {e}")
|
||||||
|
|
||||||
|
|
||||||
def send_pin_setup_email(to_email: str, code: str) -> None:
|
def send_pin_setup_email(to_email: str, code: str) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user