Fix missing return statement
This commit is contained in:
parent
5be43c6f22
commit
3f37626b13
|
@ -42,6 +42,7 @@ export default class PreLaunchWall extends Controller {
|
|||
req.session!.authorized = true;
|
||||
req.flash('success', 'Authentication success!');
|
||||
res.redirect(Controller.route('home'));
|
||||
return;
|
||||
}
|
||||
|
||||
req.flash('error', 'Invalid password.');
|
||||
|
|
Loading…
Reference in New Issue