Allow registration doesn't block guest registrations

372
Defect
-
3.3
3.2.2
-
Fixed
Normal
Normal
4 years ago
3 years ago
1

Description

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

4 years and 1 month ago by Jack

  • Closed ticket as Fixed