Ignore:
Timestamp:
06/19/07 14:26:51 (6 years ago)
Author:
William Stein <wstein@…>
Branch:
default
Message:

twisted notebook -- make sure "pub" is not an allowed username

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sage/server/notebook/avatars.py

    r5056 r5063  
    7474        if username in usernames: 
    7575            raise ValueError('Username %s already exists' % username) 
     76        elif username == 'pub': 
     77            raise ValueError('"pub" is not an allowed user name') 
    7678        else: 
    7779            return True 
Note: See TracChangeset for help on using the changeset viewer.