This is a comment on How to find WikiAdmin password?, posted by WikiAdmin at 31.10.2023 07:37

View source for Re: How to reset the WikiAdmin password?

The password recovery feature requires email support.
The easiest way is the following:

[a]
Enable online registration in the config.

##config## table
set ##allow_registration## to ##1##

Purge/delete the config cache afterwards (see ##_cache/config/config.php##).

[b]
Register a new user.

[c]
Add this user to the admin group. 

##usergroup_member## table
#|
*|group_id |user_id |*
||1 | 2||
||1 | 3||
|#

##group_id## - look up the group_id of the Admin group in the ##usergroup## table
##user_id## - look up your new user_id in the ##user## table

[d]
Login with this new user and ((/Doc/English/AdminPanel set up the email configuration)). 

[e]
The ##email_confirm## field in the ##user## table for the admin should be empty by default, if not so remove the token.

Now you can reset your forgotten password for your admin account.

See also: ((/Forum/Discussion/HowToResetPasswordOfAdminAccount How to reset password of Admin account?))