From 835b8f9b6f72c5c2297f54a3bf35d03f2e59aab9 Mon Sep 17 00:00:00 2001 From: Manager Bot Date: Thu, 24 Nov 2022 08:58:23 +0000 Subject: [PATCH] Correct bug. --- Web/lib/MJB/Web/Controller/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"