rodber / chevereto-free

Self-hosted image sharing software, your own Flickr/Imgur with your very own rules. 👍 Go to chevereto/chevereto for newer Chevereto releases.
https://chevereto.com
GNU Affero General Public License v3.0
2.76k stars 498 forks source link

Support Ambiguous Characters for Admin Password #14

Closed k0nsl closed 7 years ago

k0nsl commented 7 years ago

Chevereto-Free currently doesn't support ambiguous characters (any length?) in the user password. I tried length 35 and up, none worked. So perhaps there is a limitation in the length and actually not an issue with support for ambiguous characters? I have not looked at the code, yet.

Either way, if there is no support for ambiguous characters then consider adding support for it, or if there is a limitation in the length of the password (e.g 25 characters, or whatever), then consider increasing this limit to a higher number. I try not to use a password which is less than 25 characters unless I am forced to do so for whatever reason.

Best wishes, -k0nsl

rodber commented 7 years ago

Passwords are soft fixed to {6,32} if you want to tweak that then edit this file https://github.com/Chevereto/Chevereto-Free/blob/master/app/lib/classes/class.settings.php

You can change that value, submit the update and I will merge it into the master branch. The whole point of github is that you can point and fix stuff in the same step.

Cheers, Rodolfo.