mirror of https://github.com/dani/vroom.git
password is not reserved anymore
This commit is contained in:
parent
11dda5d0a9
commit
2a00e86a2e
3
vroom.pl
3
vroom.pl
|
@ -100,8 +100,7 @@ helper valid_room_name => sub {
|
|||
my $ret = {};
|
||||
# A few names are reserved
|
||||
my @reserved = qw(about help feedback feedback_thanks goodbye admin localize api
|
||||
missing dies password kicked invitation js css img fonts snd
|
||||
documentation);
|
||||
missing dies kicked invitation js css img fonts snd documentation);
|
||||
if (!$name || $name !~ m/^[\w\-]{1,49}$/ || grep { $name eq $_ } @reserved){
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue