diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-01-25 22:29:47 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-01-25 22:29:47 +0000 |
commit | 622dfc34e388338780fe82ce3d5830a7ac3e879c (patch) | |
tree | 2fd2d5f8b0a23e2fcb1ab0818c3c4966183190ca /core | |
parent | d78345e3357f12b00c9d025349eee2ef1051b0fe (diff) | |
download | troggle-622dfc34e388338780fe82ce3d5830a7ac3e879c.tar.gz troggle-622dfc34e388338780fe82ce3d5830a7ac3e879c.tar.bz2 troggle-622dfc34e388338780fe82ce3d5830a7ac3e879c.zip |
bug
Diffstat (limited to 'core')
-rw-r--r-- | core/views/signup.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/views/signup.py b/core/views/signup.py index 1dd453c..1d10d3e 100644 --- a/core/views/signup.py +++ b/core/views/signup.py @@ -65,7 +65,10 @@ def signup(request): # someone like "fluffy-bunny" not associated with a Person return HttpResponseRedirect("/accounts/login/?next=/signup") signup_person = people[0] - editor = f"{signup_person.fullname} <{signup_user.email}>" + editor = f"{signup_person.fullname} <{signup_user.email}>" + else: + editor = f"troggle <signup_anon@austria.expo>" + if request.method == "POST": # If the form has been submitted... pageform = ExpoSignupForm(request.POST) # A form bound to the POST data |