Fakultas Ilmu Komputer UI

Commit 242d6450 authored by Syahrul Ardiansyah's avatar Syahrul Ardiansyah
Browse files

remove print in views

parent c9349479
Pipeline #24540 failed with stage
in 2 minutes and 14 seconds
......@@ -11,7 +11,6 @@ def send_login_email(request):
email = request.POST['email']
uid = str(uuid.uuid4())
Token.objects.create(email=email, uid=uid)
print('saving uid', uid, 'for email', email, file=sys.stderr)
url = request.build_absolute_uri(f'/accounts/login?uid={uid}')
send_mail(
'Your login link for Superlists',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment