Password error must be reported as an error

master
Daniel Berteaud 10 years ago
parent d1099ec517
commit f7aca508a8
  1. 2
      vroom.pl

@ -1393,7 +1393,7 @@ any '/api' => sub {
elsif ($room->{owner_password}){ elsif ($room->{owner_password}){
return $self->render( return $self->render(
json => { json => {
status => 'success', status => 'error',
msg => $self->l('WRONG_PASSWORD') msg => $self->l('WRONG_PASSWORD')
} }
); );

Loading…
Cancel
Save