From fb3507b5c3f178f9d8803cfbce85fa4135493f32 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 26 Dec 2020 13:18:22 +0100 Subject: [PATCH] align = --- Controller/ApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 3a75a17..17d5fe5 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -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());