Check for additional bad user profile field names. bug #10941

This commit is contained in:
Colin Kuskie 2009-09-09 13:14:18 -07:00
parent 632e1e1ba2
commit f5b2b6d4cd
3 changed files with 7 additions and 4 deletions

View file

@ -67,7 +67,7 @@ Return true iff fieldName is reserved and therefore not usable as a profile fiel
sub isReservedFieldName {
my $class = shift;
my $fieldName = shift;
return isIn($fieldName, qw/userId func op wg_privacySettings/);
return isIn($fieldName, qw/userId shop specialState func op wg_privacySettings username authMethod dateCreated lastUpdated karma status referringAffiliate friendsGroup/);
}
#-------------------------------------------------------------------