Changeset 7ffd1d4
- Timestamp:
- Mar 18, 2014, 3:00:57 AM (12 years ago)
- Branches:
- master, stable, stage
- Children:
- 8442dd7
- Parents:
- f612be5
- git-author:
- Alex Dehnert <adehnert@…> (03/18/14 03:00:57)
- git-committer:
- Alex Dehnert <adehnert@…> (03/18/14 03:00:57)
- File:
-
- 1 edited
-
asadb/groups/views.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
asadb/groups/views.py
rf612be5 r7ffd1d4 243 243 if key in request.POST and request.POST[key] != "": 244 244 username = request.POST[key] 245 246 local, at, domain = username.partition('@') 247 if at and domain.lower() == 'mit.edu': 248 msgs.append('In general, you should specify just the Athena username (for example, %s), not the whole email address (like %s).' % (local, username)) 249 username = local 250 245 251 try: 246 252 moira_accounts[username] = groups.models.AthenaMoiraAccount.active_accounts.get(username=username)
Note: See TracChangeset
for help on using the changeset viewer.