yes, everything was set right. I ended up reinstalling moodle and that fixed the problem, so problably there was some problem with the initial installation. Thanks to everyone who replied and tried to help
Authentication
forgot password not working
This discussion has been locked so you can no longer reply to it.