User Tools

Site Tools


stats:proc:resetpassword

Differences

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

Link to this comparison view

Next revision
Previous revision
stats:proc:resetpassword [2012/01/11 14:53]
Patrick Michel created
stats:proc:resetpassword [2013/07/10 12:32] (current)
Line 2: Line 2:
  
 <code xcend> <code xcend>
-resetPassword(string uid, string reset, string password) {+resetPassword(ident username, string reset, string password) { 
 +  assume exists /​account[username]/​reset;​ # reset code was requested before, implies account exists 
 +  assume /​account[username]/​reset = reset;  
 + 
 +  remove /​account[username]/​reset;​ 
 +  update /​account[username]/​password password;
 } }
 </​code>​ </​code>​
  
stats/proc/resetpassword.1326290036.txt.gz · Last modified: 2012/01/11 14:53 by Patrick Michel