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

@@ -55,8 +55,8 @@ class SignupForm extends Model
// the following three lines were added:
$auth = \Yii::$app->authManager;
$salesAgentRole = $auth->getRole('user');
$auth->assign($salesAgentRole, $user->getId());
$userRole = $auth->getRole('user');
$auth->assign($userRole, $user->getId());
return $this->sendEmail($user);
}