How to Change Admin Email and Password
If you need to update the administrator email or password on your WuWei platform, you can do it either via the web interface or using the command line.
(1) Through the Web User Center
After completing the mail configuration, you can update your admin email and password via:
User Center → My Account
Simply log in with your current credentials and modify your profile information from the dashboard.
(2) Via Command Line (CLI)
If you're locked out or prefer using the terminal, follow these steps:
Access the PHP Container
Use the following command to enter the running wuwei-php
Docker container:
docker exec -it wuwei-php bash
Navigate to the application directory
cd /var/www/html/wuwei
Change Email
Run the following command, replacing {old_email}
and {new_email}
with your actual values:
php console.php maintain reset_email {old_email} {new_email}
Change Password
Run the following command, replacing {email}
and {new_password}
accordingly:
php console.php maintain reset_password {email} {new_password}
After running these commands, your updated credentials will take effect immediately.