User Tools

Site Tools


stats:proc:requestreset

Differences

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

Link to this comparison view

stats:proc:requestreset [2012/01/11 14:57]
Patrick Michel
stats:proc:requestreset [2013/07/10 12:32]
Line 1: Line 1:
-====== Request Reset ====== 
- 
-<code xcend> 
-requestReset(string username, string reset) { 
-  assume exists //​accounts/​account[username];​ 
-  ​ 
-  assume not exists //​accounts/​account[username]/​code;​ # account is already validated. 
-  ​ 
-  ​ 
-  if not exists //​accounts/​account[username]/​reset then 
-    insert //​accounts/​account[username]/​reset 
-  fi 
-  update //​accounts/​account[username]/​reset 
-} 
-</​code>​ 
  
stats/proc/requestreset.txt ยท Last modified: 2013/07/10 12:32 (external edit)