Forum

Thread tagged as: Problem, Installation, Configuration

Rest password Link in Perch 3

I just wanted to make you guys aware of a small issue I had on my first Perch 3 project. When I install perch I tend to change the name of the perch folder to admin (e.g: example.com/admin).

I noticed when I did this in Perch 3, the link on the login page to 'Reset Your Password' was still going to /perch/core/reset/ rather than /admin/core/reset/

In perch 2 if I changed the Perch folder name the following code was set to modify this automatically, but in Perch 3 it was a hard coded link.

<?php echo PERCH_LOGINPATH; ?>

Not a major issue, just a suggestion for the next Perch 3 release, could it have the PERCH_LOGINPATH; there?

For your reference in perch 2 the reset link is contained in /perch/core/index.php, but in Perch 3 the link is in /perch/core/templates/login/login.php

David Henderson

David Henderson 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Already fixed, thanks!