Example #1
0
 /**
  * Constructor.
  *
  * @author Morten Rugaard <*****@*****.**>
  *
  * @param  array $attributes
  */
 public function __construct(array $attributes = [])
 {
     parent::__construct($attributes);
     // Override table with the one from config
     $this->table = config('nodes.api.reset-password.table', 'user_reset_password_tokens');
 }
Example #2
0
 /**
  * EmailAuthorizationModel constructor.
  *
  * @param  array $attributes
  */
 public function __construct(array $attributes = [])
 {
     parent::__construct($attributes);
     // Override table with the one from config
     $this->table = config('nodes.api.email-verifications.table', 'user_verifications');
 }