add resend functionality
This commit is contained in:
@ -15,4 +15,9 @@ class SocialNetworkAccountQuery extends ActiveQuery
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
public function whereCode($code)
|
||||
{
|
||||
return $this->andWhere(['code' => md5($code)]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -22,4 +22,9 @@ class UserQuery extends ActiveQuery
|
||||
{
|
||||
return $this->andWhere(['username' => $username]);
|
||||
}
|
||||
|
||||
public function whereId($id)
|
||||
{
|
||||
return $this->andWhere(['id' => $id]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user