mirror of
https://github.com/simple-login/app.git
synced 2024-09-30 05:31:30 +02:00
include coupon comment in the notification
This commit is contained in:
parent
4fc6619553
commit
2fad942c95
@ -45,7 +45,7 @@ def lifetime_licence():
|
|||||||
# notify admin
|
# notify admin
|
||||||
send_email(
|
send_email(
|
||||||
ADMIN_EMAIL,
|
ADMIN_EMAIL,
|
||||||
subject=f"User {current_user} used lifetime coupon. Coupon nb_used: {coupon.nb_used}",
|
subject=f"User {current_user} used lifetime coupon({coupon.comment}). Coupon nb_used: {coupon.nb_used}",
|
||||||
plaintext="",
|
plaintext="",
|
||||||
html="",
|
html="",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user