Thread: Password Update
View Single Post
  #4  
Old 26 Sep 2019, 01:48
Dave Dave is offline
 
Join Date: Jun 2010
Where do you get the "$usernam" (without "e" at the end) variable from? You also don't check if $vb_userinfo contains valid user information. That needs to be adjusted first.

Once you have that fixed, the save API call throws the no_permission error if the current logged in user does not equal the selected user (to be updated) and is not an administrator.
Reply With Quote