User Tools

Site Tools


stats:proc:requestreset

This is an old revision of the document!


Request Reset

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 reset;
}
stats/proc/requestreset.1326290253.txt.gz · Last modified: 2012/01/11 14:57 by Patrick Michel