mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-01 16:58:41 +00:00
align =
This commit is contained in:
parent
04d95f114d
commit
fb3507b5c3
|
|
@ -104,7 +104,7 @@ final class ApiController extends Controller
|
|||
*/
|
||||
public function apiProfileTempLoginCreate(Profile $profile, RequestAbstract $request) : void
|
||||
{
|
||||
$account = AccountMapper::get($reqeust->header->account);
|
||||
$account = AccountMapper::get($reqeust->header->account);
|
||||
$account->tempPassword = \password_hash(\random_bytes(64), \PASSWORD_DEFAULT);
|
||||
|
||||
$this->updateModel($request->header->account, $old, $profile, AccountMapper::class, 'profile', $request->getOrigin());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user