mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 10:46:43 +02:00
style: update ecs config to align associative arrays arrows
update composer dependencies to latest
This commit is contained in:
parent
3fc1d8e18d
commit
2a50f6e4d2
268 changed files with 3833 additions and 3973 deletions
|
|
@ -97,7 +97,7 @@ class UserController extends BaseController
|
|||
$email = $this->request->getPost('email');
|
||||
$user = new User([
|
||||
'username' => $this->request->getPost('username'),
|
||||
'email' => $email,
|
||||
'email' => $email,
|
||||
// set a random password
|
||||
// user will be prompted to change it on first magic link login.
|
||||
'password' => random_string('alnum', 32),
|
||||
|
|
@ -126,8 +126,8 @@ class UserController extends BaseController
|
|||
|
||||
$identityModel->insert([
|
||||
'user_id' => $user->id,
|
||||
'type' => Session::ID_TYPE_MAGIC_LINK,
|
||||
'secret' => $token,
|
||||
'type' => Session::ID_TYPE_MAGIC_LINK,
|
||||
'secret' => $token,
|
||||
'expires' => Time::now()->addSeconds(setting('Auth.welcomeLinkLifetime'))->format('Y-m-d H:i:s'),
|
||||
]);
|
||||
|
||||
|
|
@ -180,7 +180,7 @@ class UserController extends BaseController
|
|||
);
|
||||
|
||||
$data = [
|
||||
'user' => $this->user,
|
||||
'user' => $this->user,
|
||||
'roleOptions' => $roleOptions,
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue