Check for additional bad user profile field names. bug #10941
This commit is contained in:
parent
632e1e1ba2
commit
f5b2b6d4cd
3 changed files with 7 additions and 4 deletions
|
|
@ -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/);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue