initial release

This commit is contained in:
Chris Smith
2025-02-19 22:41:18 +01:00
parent 61e85ae9a2
commit 9e9e989830
15 changed files with 96 additions and 59 deletions

View File

@@ -89,7 +89,7 @@ class User extends ActiveRecord implements IdentityInterface
public function rules()
{
return [
['status', 'default', 'value' => self::STATUS_VERIFIED],
['status', 'default', 'value' => self::STATUS_ACTIVE],
[['email'], 'email'],
[['email'], 'unique'],
[['sales_agent_id', 'created_at', 'updated_at'], 'integer'],