changeset 323:be8b30f5afb4

fix aliasname userform field: it is now possible to empty it again imported from: moin--main--1.5--patch-327
author Thomas Waldmann <tw@waldmann-edv.de>
date Sat, 17 Dec 2005 20:47:59 +0000
parents b3bbb63ac9ef
children 50af23dadd9a
files MoinMoin/userform.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/userform.py	Sat Dec 17 20:30:12 2005 +0000
+++ b/MoinMoin/userform.py	Sat Dec 17 20:47:59 2005 +0000
@@ -224,8 +224,8 @@
 
             if not 'aliasname' in theuser.auth_attribs:
                 # aliasname
-                theuser.aliasname = form.get('aliasname', [theuser.aliasname])[0]
-	    
+                theuser.aliasname = form.get('aliasname', [''])[0]
+
             # editor size
             theuser.edit_rows = util.web.getIntegerInput(self.request, 'edit_rows', theuser.edit_rows, 10, 60)