add more fake data to test HIBP

This commit is contained in:
Son NK 2021-06-03 11:37:43 +02:00
parent af1eb558d5
commit 17500aef51

View file

@ -298,8 +298,9 @@ def fake_data():
m1.pgp_finger_print = load_public_key(pgp_public_key)
db.session.commit()
# example@example.com is in a LOT of data breaches
# example@example.com and hey@example.com is in a LOT of data breaches
Alias.create(email="example@example.com", user_id=user.id, mailbox_id=m1.id)
Alias.create(email="hey@example.com", user_id=user.id, mailbox_id=m1.id)
for i in range(3):
if i % 2 == 0: