web/views/cwuser.py
branchstable
changeset 2971 bc0a270622c2
parent 2401 890f6b990dd7
child 3377 dd9d292b6a6d
child 3808 60e78e93a0e5
--- a/web/views/cwuser.py	Mon Aug 24 19:53:10 2009 +0200
+++ b/web/views/cwuser.py	Mon Aug 24 20:27:05 2009 +0200
@@ -11,9 +11,10 @@
 
 from cubicweb.selectors import one_line_rset, implements, match_user_groups
 from cubicweb.view import EntityView
-from cubicweb.web import action
+from cubicweb.web import action, uicfg
 from cubicweb.web.views import primary
 
+uicfg.primaryview_section.tag_attribute(('CWUser', 'login'), 'hidden')
 
 class UserPreferencesEntityAction(action.Action):
     id = 'prefs'