Configure the administrator account after apollo accesses ldap

question

After Apollo is connected to ldap , the apollo account cannot be used, so that the system does not have a system administrator. What should I do?

solve

In Apollo's data table, find ServerConfigthis table:
insert image description here
execute the following SQL:

update ServerConfig set `Value` = 'ldap用户名,多个用逗号隔开' where `Key` = 'superAdmin';

Then, just restart the Apollo Portal service, so that you can use the specified ldap username to log in as an administrator.

Guess you like

Origin blog.csdn.net/qq_39609993/article/details/128733702