how to write link for change password

how to write link for change password

by m question -
Number of replies: 0

Hi, how to write the url for the change_password for external database authentication plugin?


I saved the change_db(which display message) in wroot directory. The URL is : "\change_d.php" without quotes, and I have error

This webpage has a redirect loop

the php error log shows the following error

 PHP Stack trace:
 PHP   1. {main}() C:\wamp\www\Test\change_password_DB.php:0
 PHP Warning:  mysqli::mysqli(): (HY000/2002): No connection could be made because the target machine actively refused it.


I used the same file of change_password.php of Moodle, but I comment dispaly_form() & display message using echo

what I am trying is to dhow same layout of Moodle & display message of users who want to change thier password.


thanks you for any help

Average of ratings: -