Skip to content

Commit

Permalink
Dev: Fix typo in exception class name
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Aug 12, 2021
1 parent a441518 commit 2bf863b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/core/LSSodiumOld.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ protected function generateEncryptionKeys()
{
if (is_file(APPPATH . 'config/security.php')) {
// Never replace an existing file
throw new CException(500, gT("Configuration file already exist"));
throw new CHttpException(500, gT("Configuration file already exist"));
}
$sEncryptionKeypair = ParagonIE_Sodium_Compat::crypto_sign_keypair();
$sEncryptionPublicKey = ParagonIE_Sodium_Compat::bin2hex(ParagonIE_Sodium_Compat::crypto_sign_publickey($sEncryptionKeypair));
Expand Down

0 comments on commit 2bf863b

Please sign in to comment.