User Tools

Site Tools


stats:proc:changepassword

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

stats:proc:changepassword [2011/10/12 15:55] – created Patrick Michelstats:proc:changepassword [2013/07/10 12:32] (current) – external edit 127.0.0.1
Line 3: Line 3:
 <code xcend> <code xcend>
 changePassword(ident uid, ident username, string password) { changePassword(ident uid, ident username, string password) {
-  assume exists //accounts/account[uid]/admin || uid = username;+  assume exists /account[uid]/admin || uid = username;
  
-  assume exists //accounts/account[username]; # implicitly true in OO implementations+  assume exists /account[username]; # implicitly true in OO implementations
    
-  update //accounts/account[username]/password password;+  update /account[username]/password password;
 } }
 </code> </code>
stats/proc/changepassword.1318427753.txt.gz · Last modified: by Patrick Michel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki