# Oops! You need to be logged in to use this form \[RESOLVED\]

**URL:** <https://community.gravityforms.com/t/oops-you-need-to-be-logged-in-to-use-this-form-resolved/16515>\
**Category:** Get Help\
**Tags:** update-user, you-need-to-be-logged-in-to-use-this-form, user-registration\
**Created:** [December 22, 2023, 2:57pm UTC](https://community.gravityforms.com/t/oops-you-need-to-be-logged-in-to-use-this-form-resolved/16515 "2023-12-22T14:57:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![geodownloadco](https://avatars.discourse-cdn.com/v4/letter/g/848f3c/32.png) [@geodownloadco](https://community.gravityforms.com/u/geodownloadco)\
**Post date:** [December 22, 2023, 2:57pm UTC](https://community.gravityforms.com/t/oops-you-need-to-be-logged-in-to-use-this-form-resolved/16515/1 "2023-12-22T14:57:51Z")

</div>

Hi, i am getting “Oops! You need to be logged in to use this form.”

I added this code to my functions and cleared all caches on the site. Still nothing seems to want to work.

// Add this code to your theme’s functions.php file

add\_filter(‘gform\_require\_login’, ‘\_\_return\_false’);

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [December 22, 2023, 3:00pm UTC](https://community.gravityforms.com/t/oops-you-need-to-be-logged-in-to-use-this-form-resolved/16515/2 "2023-12-22T15:00:04Z")

</div>

Does the form have an “update” type User Registration feed? If so, the user must be logged in for the add-on to populate the mapped fields with the user’s current meta values.

---

<div class="post-metadata">

**Author:** ![geodownloadco](https://avatars.discourse-cdn.com/v4/letter/g/848f3c/32.png) [@geodownloadco](https://community.gravityforms.com/u/geodownloadco)\
**Post date:** [December 22, 2023, 3:02pm UTC](https://community.gravityforms.com/t/oops-you-need-to-be-logged-in-to-use-this-form-resolved/16515/3 "2023-12-22T15:02:54Z")

</div>

Thank you! That is what the issue is!

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [December 22, 2023, 3:09pm UTC](https://community.gravityforms.com/t/oops-you-need-to-be-logged-in-to-use-this-form-resolved/16515/4 "2023-12-22T15:09:42Z")

</div>


