Skip to content

Commit e3cd4be

Browse files
author
Ralf Schlatterbeck
committed
- fix case where action isn't present in form, e.g., for xmlrpc
1 parent ab5ed7b commit e3cd4be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/cgi/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ def check_anonymous_access(self):
742742
action = ''
743743
if isinstance(action, list):
744744
raise SeriousError('broken form: multiple @action values submitted')
745-
else:
745+
elif action:
746746
action = action.value.lower()
747747
if action in ('login', 'register'):
748748
return

0 commit comments

Comments
 (0)