password is not reserved anymore

master
Daniel Berteaud 9 years ago
parent 11dda5d0a9
commit 2a00e86a2e
  1. 3
      vroom.pl

@ -100,8 +100,7 @@ helper valid_room_name => sub {
my $ret = {}; my $ret = {};
# A few names are reserved # A few names are reserved
my @reserved = qw(about help feedback feedback_thanks goodbye admin localize api my @reserved = qw(about help feedback feedback_thanks goodbye admin localize api
missing dies password kicked invitation js css img fonts snd missing dies kicked invitation js css img fonts snd documentation);
documentation);
if (!$name || $name !~ m/^[\w\-]{1,49}$/ || grep { $name eq $_ } @reserved){ if (!$name || $name !~ m/^[\w\-]{1,49}$/ || grep { $name eq $_ } @reserved){
return 0; return 0;
} }

Loading…
Cancel
Save