partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

PasswordChangeNotAllowedException.php (366B)


      1 <?php
      2 
      3 namespace PartKeepr\AuthBundle\Exceptions;
      4 
      5 use PartKeepr\CoreBundle\Exceptions\TranslatableException;
      6 
      7 /**
      8  * Is thrown when the user may not change their password.
      9  */
     10 class PasswordChangeNotAllowedException extends TranslatableException
     11 {
     12     public function getMessageKey()
     13     {
     14         return 'Password change not allowed by the administrator';
     15     }
     16 }