@ -16,6 +16,9 @@ use DateTime;
# Send the user to whatever the default registration system is.
#==
sub register ( $c ) {
return $c->redirect_to( $c->url_for( 'show_dashboard' ) )
if exists $c->stash->{person} and $c->stash->{person}->id;
return $c->redirect_to( $c->url_for( 'show_register_stripe' ) )
if $c->config->{register}{default} eq 'stripe';
@ -121,12 +121,14 @@
Contact
</a>
</li>
% if ( ! $c->stash->{person} ) {
<li class="nav-item">
<a class="nav-link <%= $sb_active eq "pricing" ? "active" : "" %>" aria-current="page" href="<%= $c->url_for( 'show_pricing' ) %>">
<span data-feather="dollar-sign"></span>
Pricing
% }
<a class="nav-link <%= $sb_active eq "open_source" ? "active" : "" %>" aria-current="page" href="<%= $c->url_for( 'show_open_source' ) %>">
<span data-feather="github"></span>