Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/storage/PhabricatorAuthPassword.php
Context not available. | |||||
PhabricatorAuthPasswordHashInterface $object, | PhabricatorAuthPasswordHashInterface $object, | ||||
PhabricatorPasswordHasher $hasher) { | PhabricatorPasswordHasher $hasher) { | ||||
if (!strlen($password->openEnvelope())) { | if (!@strlen($password->openEnvelope())) { | ||||
throw new Exception( | throw new Exception( | ||||
pht('Attempting to set an empty password!')); | pht('Attempting to set an empty password!')); | ||||
} | } | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0