summaryrefslogtreecommitdiffstats
path: root/irc_register.py
diff options
context:
space:
mode:
authorGeorg2021-09-02 01:47:37 +0200
committerGeorg2021-09-02 01:47:37 +0200
commitd5f5ac7bd254ac591b4bbeb606565ac22e2ce35c (patch)
tree3796dcd10f25f5cd35cb138279c888680925f0ba /irc_register.py
parent840265c745e668addfcd4afa741f7835cd98dca9 (diff)
downloadwebreg-d5f5ac7bd254ac591b4bbeb606565ac22e2ce35c.tar.gz
webreg-d5f5ac7bd254ac591b4bbeb606565ac22e2ce35c.tar.bz2
webreg-d5f5ac7bd254ac591b4bbeb606565ac22e2ce35c.zip
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'irc_register.py')
-rw-r--r--irc_register.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/irc_register.py b/irc_register.py
index 0492a86..62734a3 100644
--- a/irc_register.py
+++ b/irc_register.py
@@ -100,7 +100,6 @@ def ircregister(username, password, email):
return "ssoerr"
if status == 409: # likely already occupied username or email address
print("ERROR: Keycloak indicated that the resource already exists or \"some other coonflict when processing the request\" occured.")
- return "ssoerr"
return "409"
#to-do: parse response JSON to inform the user whether it's the username OR the email address causing the culprit
if status == 415: