#372 - Allow registration doesn't block guest registrations
Type Defect
Status Fixed
Milestone 3.3
Version 3.2.2
Component -
Priority Normal
Severity Normal
Assigned to -
Reported 10 years ago
Updated 10 years ago
Votes 1
Related tickets
Proposed time
Worked time

What did you do to cause this?

When I set to disallow registration by guest user

What page were you on?

/register

What PHP and MariaDB versions do you run?

5.4.x

Describe the defect:

Even when I set No to "Allow Registration" (in AdminCP), the link still appears on top of the page.

The solution:

Line: 13 of /vendor/traq/views/default/layouts/_meta_nav.phtml:

<?php if (settings('allow_registration')) { ?>
no changes in the link line: <li<?php echo iif(active_nav('/register'), ' class="active"')?>><?php echo HTML::link(l('register'), '/register'); ?></li>
<?php } ?>

Ticket History

Jack closed as Fixed 10 years and 5 months ago