Ldap configuration without web admin access

#1

I have gogs configured to authenticate users against an active directory (and thats the only authentication method I have).
The AD is broken, I can´t restore it in any way. So, I coudn’t get into gogs admininstrator.
So I need to change ldap configuration in other way … do you know if I could configure this in the database?
Thanks a lot.

0 Likes

#2

If you just want to login a user as admin, simply set is_admin in user table for the user you want.

0 Likes