Disallow realname = username in GUI

pull/5/head
Michael Spang 14 years ago
parent e6e673447e
commit 4ee16577aa
  1. 8
      ceo/urwid/newmember.py

@ -73,6 +73,10 @@ class InfoPage(WizardPanel):
self.focus_widget( self.name )
set_status("Name is too short")
return True
elif self.state['userid'] == self.state['name']:
self.focus_widget(self.name)
set_status("Name matches username")
return True
clear_status()
class ClubInfoPage(WizardPanel):
@ -97,6 +101,10 @@ class ClubInfoPage(WizardPanel):
self.focus_widget( self.name )
set_status("Name is too short")
return True
elif self.state['userid'] == self.state['name']:
self.focus_widget(self.name)
set_status("Name matches username")
return True
clear_status()
class SignPage(WizardPanel):

Loading…
Cancel
Save