User Tools

Site Tools


stats:proc:changepassword

Change Password

changePassword(ident uid, ident username, string password) {
  assume exists /account[uid]/admin || uid = username;
 
  assume exists /account[username]; # implicitly true in OO implementations
 
  update /account[username]/password password;
}
stats/proc/changepassword.txt · Last modified: 2013/07/10 12:32 (external edit)