You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is easily fixed by changing the method "formatHT" in the user & group class, so that the return string does not contain a whitespace after double-point:
/** * Format to HT write * @return string */publicfunctionformatHT()
{
return"{$this->getUsername()}:{$this->getHash()}";
}
Would've filed a Pull request, but haven't done so in quite a while. ;)
The text was updated successfully, but these errors were encountered:
Whenever you add a user or a group, the .htpasswd file gets reset. So far so good.
But (!) whenever the Service class writes it puts a whitespace in front of the password which renders the file unusable.
Works:
test:$apr1$wG4BORKw$6ylmzwwbtgDvH7l13Y5QH1
Fails:
test: $apr1$wG4BORKw$6ylmzwwbtgDvH7l13Y5QH1
This is easily fixed by changing the method "formatHT" in the user & group class, so that the return string does not contain a whitespace after double-point:
Would've filed a Pull request, but haven't done so in quite a while. ;)
The text was updated successfully, but these errors were encountered: