# E-Mail activation doesn't stick with AD authentication

**URL:** <https://forum.gitea.com/t/e-mail-activation-doesnt-stick-with-ad-authentication/6412>\
**Category:** General\
**Created:** [December 15, 2022, 10:26am UTC](https://forum.gitea.com/t/e-mail-activation-doesnt-stick-with-ad-authentication/6412 "2022-12-15T10:26:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RockNLol](https://avatars.discourse-cdn.com/v4/letter/r/8c91f0/32.png) [@RockNLol](https://forum.gitea.com/u/RockNLol)\
**Post date:** [December 15, 2022, 10:26am UTC](https://forum.gitea.com/t/e-mail-activation-doesnt-stick-with-ad-authentication/6412/1 "2022-12-15T10:26:56Z")

</div>

hi,  
I set up gitea in an lxc container on my proxmox sever, but already had the same problem on a test setup with docker.  
I configured my active directory as an authentication source via “LDAP (via BindDN)”, which is working fine for login. On login I need to confirm my e-mail, which is also working, but at the next login I need to confirm my e-mail again. The activation just does not stick. The activation check mark of AD users in the “User Emails”-Tab of the configuration is grey, unlike the green check marks of local users or users authenticated via SMTP.

What am I doing wrong here?

Best regards,  
RockNLol
