diff --git a/Web/lib/MJB/Web/Controller/Auth.pm b/Web/lib/MJB/Web/Controller/Auth.pm index dade5f2..788df47 100644 --- a/Web/lib/MJB/Web/Controller/Auth.pm +++ b/Web/lib/MJB/Web/Controller/Auth.pm @@ -255,7 +255,7 @@ sub do_register_stripe ( $c ) { $person->new_related('auth_password', {})->set_password($c->param('password')); # Create the subscription. - $person->subscription->insert; + $person->create_related('subscription', {}); # Notify the system about the new account. $c->db->system_notes->create({