You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can't. You need to write a small script that you upload yourself and execute it.
As this is extremely unsafe, such thing will never be implemented in Lychee.
You can try this script in reset_admin.php which you place in <path_to_lychee>/public/reset_admin.php and then access it from your web. Do be sure to delete the script once done. I have no clue if it works but it is worth a try.
<?phpexec("cd ..; php artisan lychee:reset_admin", $output, $retval);
echo"Returned with status $retval and output:\n";
print_r($output);
Activity
ildyria commentedon Nov 20, 2023
You can't. You need to write a small script that you upload yourself and execute it.
As this is extremely unsafe, such thing will never be implemented in Lychee.
You can try this script in
reset_admin.phpwhich you place in<path_to_lychee>/public/reset_admin.phpand then access it from your web. Do be sure to delete the script once done. I have no clue if it works but it is worth a try.tasiotas commentedon Nov 20, 2023
yey, it worked!
Just had to use
create_user --may-administrateinstead ofreset_adminThank you
tasiotas commentedon Feb 5, 2024
this doesnt work on v5 anymore
returns:
I don't see any changes to
create_user, any ideas?ildyria commentedon Feb 5, 2024
Have you tried
lychee:update_user <username> <password>(without the<and>obviously) ?