Forum

Thread tagged as: Suggestions, Discussion

Perch allows password chars that break login

A couple of times, my password manager has generated a password that Perch has allowed, but then breaks login. When this happens, if email isn't setup yet or isn't working, the only way I can login is by changing the password manually in the DB.

This just happened with the password "x2^;C'^%ArG:". I'm guessing it's that semi-colon.

Maybe Perch could produce an error and not allow a password that contains login-breaking characters?

Shane Lenzen

Shane Lenzen 18 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

How does it break?

Sorry, I guess I could have been more descriptive than "it breaks." It just gives an 'incorrect user/pass' error.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you post your diagnostics report?

Perch: 2.8.13, PHP: 5.5.11, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: bf9ad53b11c9a57efdb1057292d73b928b8c5c77 $, with PDO
Server OS: WINNT, apache2handler
Installed apps: content (2.8.13), assets (2.8.13), categories (2.8.13)
App runtimes: <?php $apps_list = array( 'content', 'categories', );
PERCH_LOGINPATH: /mty-admin
PERCH_PATH: D:\Shane\The Vault\Work\Tech\Mountain Yoga\_mtnyoga.dev\mty-admin
PERCH_CORE: D:\Shane\The Vault\Work\Tech\Mountain Yoga\_mtnyoga.dev\mty-admin\core
PERCH_RESFILEPATH: D:\Shane\The Vault\Work\Tech\Mountain Yoga\_mtnyoga.dev\mty-admin\resources
Image manipulation: GD
PHP limits: Max upload 1000M, Max POST 1000M, Memory: 500M, Total max file upload: 500M
Resource folder writeable: Yes
HTTP_HOST: mtnyoga.dev
DOCUMENT_ROOT: D:/Shane/The Vault/Work/Tech/Mountain Yoga/_mtnyoga.dev
REQUEST_URI: /mty-admin/core/settings/diagnostics/
SCRIPT_NAME: /mty-admin/core/settings/diagnostics/index.php
Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, great, thanks. We'll look into what's happening and see if we can reproduce it.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Found and fixed, thanks.

Awesome, thanks Drew!