# Hiro conflict with custom hooks

**URL:** <https://forum.heroiclabs.com/t/hiro-conflict-with-custom-hooks/5801>\
**Category:** Hiro\
**Tags:** server-framework\
**Created:** [November 14, 2024, 7:42am UTC](https://forum.heroiclabs.com/t/hiro-conflict-with-custom-hooks/5801 "2024-11-14T07:42:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jell-o-fishi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/jell-o-fishi/32/2269_2.png) [@jell-o-fishi](https://forum.heroiclabs.com/u/jell-o-fishi)\
**Post date:** [November 14, 2024, 7:42am UTC](https://forum.heroiclabs.com/t/hiro-conflict-with-custom-hooks/5801/1 "2024-11-14T07:42:47Z")

</div>

I started using the registration hooks.  
I am using hiro.  
When i register using RegisterAfterAuthenticateDevice, the intventory setup of hiro no longer occures when a new user is authenticated.  
What am I missing ?

---

<div class="post-metadata">

**Author:** ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)\
**Post date:** [November 14, 2024, 2:16pm UTC](https://forum.heroiclabs.com/t/hiro-conflict-with-custom-hooks/5801/2 "2024-11-14T14:16:15Z")

</div>

Hello @jell-o-fishi,

If you’re using Hiro, you should use `systems.SetAfterAuthenticate(...)` function for your after-hook, as Hiro registers its own.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![jell-o-fishi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/jell-o-fishi/32/2269_2.png) [@jell-o-fishi](https://forum.heroiclabs.com/u/jell-o-fishi)\
**Post date:** [November 14, 2024, 4:03pm UTC](https://forum.heroiclabs.com/t/hiro-conflict-with-custom-hooks/5801/3 "2024-11-14T16:03:29Z")

</div>

that was it. thanks
