Changeset 6674 for main/waeup.sirp/trunk
- Timestamp:
- 4 Sep 2011, 11:38:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/authentication.py
r6669 r6674 136 136 return IUserAccount(student) 137 137 138 #def addAccount(self, account):139 # usercontainer = self.getUserContainer()140 # if usercontainer is None:141 # return142 # # XXX: complain if name already exists...143 # usercontainer.addAccount(account)144 145 #def addUser(self, name, password, title=None, description=None):146 # usercontainer = self.getUserContainer()147 # if usercontainer is None:148 # return149 # usercontainer.addUser(name, password, title, description)150 151 #def getUserContainer(self):152 # site = grok.getSite()153 # return site['users']154 155 156 138 class StudentsAuthenticatorSetup(grok.GlobalUtility): 157 139 """Register or unregister student authentication for a PAU.
Note: See TracChangeset for help on using the changeset viewer.