New hooks in account manage + create

This commit is contained in:
slawkens
2024-09-08 06:23:17 +02:00
parent 55543ee881
commit d40178104b
4 changed files with 16 additions and 1 deletions

View File

@@ -167,6 +167,8 @@ if($save)
$new_account->setEMail($email);
$new_account->save();
$hooks->trigger(HOOK_ACCOUNT_CREATE_AFTER_SAVED, ['account' => $new_account]);
if($config_salt_enabled)
$new_account->setCustomField('salt', $salt);