From bbaa1196174ae05efe0f4487eec3efcf4dd38d7e Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 9 Sep 2021 22:30:40 +0300 Subject: [PATCH] fix --- .../Espo/Core/Authentication/TwoFactor/UserCodeVerify.php | 2 +- .../Espo/Core/Authentication/TwoFactor/UserMethods/Totp.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/Espo/Core/Authentication/TwoFactor/UserCodeVerify.php b/application/Espo/Core/Authentication/TwoFactor/UserCodeVerify.php index 651c1b69c9..9669eb2a3f 100644 --- a/application/Espo/Core/Authentication/TwoFactor/UserCodeVerify.php +++ b/application/Espo/Core/Authentication/TwoFactor/UserCodeVerify.php @@ -38,7 +38,7 @@ interface UserCodeVerify /** * Generate data for a user. */ - public function generateData(UserData $userData, StdClass $data, string $userName): stdClass; + public function generateData(UserData $userData, stdClass $data, string $userName): stdClass; /** * Confirm code before storing. diff --git a/application/Espo/Core/Authentication/TwoFactor/UserMethods/Totp.php b/application/Espo/Core/Authentication/TwoFactor/UserMethods/Totp.php index fef3ae6091..3f2ea28dd0 100644 --- a/application/Espo/Core/Authentication/TwoFactor/UserMethods/Totp.php +++ b/application/Espo/Core/Authentication/TwoFactor/UserMethods/Totp.php @@ -50,7 +50,7 @@ class Totp implements UserCodeVerify $this->config = $config; } - public function generateData(UserData $userData, StdClass $data, string $userName): stdClass + public function generateData(UserData $userData, stdClass $data, string $userName): stdClass { $secret = $this->totp->createSecret();