diff --git a/Web/lib/MJB/Web/Controller/Auth.pm b/Web/lib/MJB/Web/Controller/Auth.pm index aaa0fdf..35ad0e9 100644 --- a/Web/lib/MJB/Web/Controller/Auth.pm +++ b/Web/lib/MJB/Web/Controller/Auth.pm @@ -145,7 +145,7 @@ sub do_register_invite ( $c ) { push @{$c->stash->{errors}}, "Confirm Password is required" unless $p_confirm; push @{$c->stash->{errors}}, "Invite code is required" unless $invite; - return $c->redirect_error( 'show_register' ) + return $c->redirect_error( 'show_register_invite' ) if $c->stash->{errors}; push @{$c->stash->{errors}}, "Password and confirm password must match"