User Tools

Site Tools


stats:proc:resetpassword

Differences

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

Link to this comparison view

stats:proc:resetpassword [2012/05/15 14:34]
Patrick Michel
stats:proc:resetpassword [2013/07/10 12:32]
Line 1: Line 1:
-====== Reset Password ====== 
- 
-<code xcend> 
-resetPassword(ident uid, string reset, string password) { 
-  assume exists //​accounts/​account[username]/​reset;​ # reset code was requested before, implies account exists 
-  assume //​accounts/​account[username]/​reset = reset; ​ 
- 
-  remove //​accounts/​account[username]/​reset;​ 
-  update //​accounts/​account[username]/​password password; 
-} 
-</​code>​ 
  
stats/proc/resetpassword.txt ยท Last modified: 2013/07/10 12:32 (external edit)