diff options
| author | Bobby <[email protected]> | 2023-07-13 16:07:24 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2023-07-13 16:07:24 -0400 |
| commit | c9c0ee4e963e79910dd347c8adc4418ae818690a (patch) | |
| tree | 28abed25590845b337eeb8633370706fbbc57b4a /users/forms.py | |
| parent | 8171d41e66484ab140df28bf44f6e95deb72de2f (diff) | |
| download | thatcomputerscientist-c9c0ee4e963e79910dd347c8adc4418ae818690a.tar.xz thatcomputerscientist-c9c0ee4e963e79910dd347c8adc4418ae818690a.zip | |
Update Branding and Redirect to `shi.foo`
Diffstat (limited to 'users/forms.py')
| -rw-r--r-- | users/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/forms.py b/users/forms.py index 2a1be649..a78b26f5 100644 --- a/users/forms.py +++ b/users/forms.py @@ -95,7 +95,7 @@ class RegisterForm(forms.Form): subject = 'Verify your email address' message = render_to_string('verification_email.html', { 'user': user.username if user.first_name is None else user.first_name, - 'site_name': 'That Computer Scientist', + 'site_name': 'Shifoo', 'uid': uid, 'token': token, 'protocol': 'https://' if request.is_secure() else 'http://', @@ -103,7 +103,7 @@ class RegisterForm(forms.Form): }) message = strip_tags(message) # send_mail(subject, message, 'That Computer Scientist <' + settings.EMAIL_HOST_USER + '>', [user.email], fail_silently=False) - if (send_email(sender='[email protected]', sender_name='That Computer Scientist', recipient=user.email, subject=subject, body_html=message, body_text=message)): + if (send_email(sender='[email protected]', sender_name='Shifoo', recipient=user.email, subject=subject, body_html=message, body_text=message)): return user else: return user |
