# User account keeps getting un-activated

**URL:** <https://forum.gitea.com/t/user-account-keeps-getting-un-activated/3361>\
**Category:** General\
**Created:** [June 11, 2021, 5:19pm UTC](https://forum.gitea.com/t/user-account-keeps-getting-un-activated/3361 "2021-06-11T17:19:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinp26](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@martinp26](https://forum.gitea.com/u/martinp26)\
**Post date:** [June 11, 2021, 5:19pm UTC](https://forum.gitea.com/t/user-account-keeps-getting-un-activated/3361/1 "2021-06-11T17:19:05Z")

</div>

Hi team, I’d like 2 ask why user accounts (aside from the main gitadmin account) keep becoming un-activated?  
I have 2 log in is the gitadmin user, go to Site Administration, Users, edit the User and select ‘User Account is Activated’ every day.

Any help would b appreciated.  
Thanks  
Martin  
🙂

---

<div class="post-metadata">

**Author:** ![techknowlogick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/techknowlogick/32/4706_2.png) [@techknowlogick](https://forum.gitea.com/u/techknowlogick)\
**Post date:** [June 17, 2021, 7:12pm UTC](https://forum.gitea.com/t/user-account-keeps-getting-un-activated/3361/2 "2021-06-17T19:12:16Z")

</div>

Can you provide more details on your configuration? Such as version of Gitea in use, how you have installed Gitea, what database you are using, and do you have LDAP configured?

---

<div class="post-metadata">

**Author:** ![martinp26](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@martinp26](https://forum.gitea.com/u/martinp26)\
**Post date:** [June 17, 2021, 7:34pm UTC](https://forum.gitea.com/t/user-account-keeps-getting-un-activated/3361/3 "2021-06-17T19:34:01Z")

</div>

Hi techknowlogick, thanks 4 replying.  
I’m running Gitea 1.14.2 against openLDAP 2.4 with a standard schema.  
I think I’ve fixed the issue by disabling the Enable User Synchronization option under the Authorization Source.  
It’s been 3 days now and my login has stayed Authorized.  
Is there anything u want me 2 check/test?  
Cheers  
Martin
