I just created a new user in my database. But before the user gets on the homepage, i check if the user was just created to show an animation to the user like below but is not doing the trick.. What could be the issue?
@if(Auth::user()->waRecentlyCreated)
{
<div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
</div>
}
@endif
else
{
//show the home page right away
}