Do you have weak and often failing memory as I do? And what worse, have you forgotten password you are accessing your beloved Moodle with? It is catastrophe! Really?
I assume you know, that Moodle can send you new password in case you have forgotten the old one when you provide username or email you registrated.
But what to do, if you have forgotten absolute everything or your Moodle is not sending emails? (Maybe you are trying Moodle on your localhost without smtp settings etc.)
If you have access to database (phpmyadmin is most used) you are saved.
You need to run this query:
where newpassword is you new password and admin is a username of account you want to set that new password.
Or you can use this script from Shane Elliot:
* download it
* modify lines
$username = 'username';
$newpassword = 'newpassword';
* copy this file to your root moodle installation directory, same location as config.php and access this script with your browser (eg. "http://yourmoodleurl/passchange.php" )
Don't forget to delete this script after usage, it can create security issue!
I hope you regained your password and you are good to go with using Moodle once again ;).
I assume you know, that Moodle can send you new password in case you have forgotten the old one when you provide username or email you registrated.
But what to do, if you have forgotten absolute everything or your Moodle is not sending emails? (Maybe you are trying Moodle on your localhost without smtp settings etc.)
If you have access to database (phpmyadmin is most used) you are saved.
You need to run this query:
UPDATE `mdl_user` SET password = md5('newpassword') WHERE username = 'admin';
where newpassword is you new password and admin is a username of account you want to set that new password.
Or you can use this script from Shane Elliot:
* download it
* modify lines
$username = 'username';
$newpassword = 'newpassword';
* copy this file to your root moodle installation directory, same location as config.php and access this script with your browser (eg. "http://yourmoodleurl/passchange.php" )
Don't forget to delete this script after usage, it can create security issue!
I hope you regained your password and you are good to go with using Moodle once again ;).
1 komentar:
Betway Casino Review: Get a $250 Welcome Bonus
In mobile bet365 addition, Betway Casino offers a variety of casino 스마일 먹튀 games and a wide variety 룰렛판사이트 of sports 모바일 벳 365 and 바카라사이트casinopan betting markets. The site offers a generous welcome bonus
Post a Comment