Update calls to missing function

This commit is contained in:
Dane Everitt
2018-01-05 16:33:50 -06:00
parent 60eb60013c
commit 5f9fe4a69b
45 changed files with 78 additions and 78 deletions

View File

@@ -72,7 +72,7 @@ class TwoFactorSetupService
$secret = $this->google2FA->generateSecretKey($this->config->get('pterodactyl.auth.2fa.bytes'));
$image = $this->google2FA->getQRCodeGoogleUrl($this->config->get('app.name'), $user->email, $secret);
$this->repository->withoutFresh()->update($user->id, [
$this->repository->withoutFreshModel()->update($user->id, [
'totp_secret' => $this->encrypter->encrypt($secret),
]);