So, i am working on getting this setup to handle Password resets so that my Teachers can reset student passwords instead of having to try and get a hold of one of the IT team.
I first started with this code segment for the button:
And it did 2 things of note:
It successfully reset the password and triggered the Change password at next logon
However, the catch still triggered and gave a result of “Fail”, which I think is from the unlock account, but i am not entirely sure.
So, in an attempt to implement logging, i added a log file in the wwwroot folder, verified permissions and came up with this:
However now, I get 0 results, and nothing happens and i am really not sure where i have gone wrong…
Thanks for the help!