Example #1
0
 public function __construct($dsnUrl = null)
 {
     parent::__construct($dsnUrl);
     if ($this->username && $this->password) {
         if ($this->salt) {
             $this->users[$this->username] = $this->password;
         } else {
             $this->users[$this->username] = Auth::makeHash($this->username, $this->password, '');
         }
     }
 }
Example #2
0
 /**
  * @return string
  */
 protected static function getSettingsClassName()
 {
     return Settings::className();
 }