User Tools

Site Tools


stats:proc:requestreset

This is an old revision of the document!


Request Reset

requestReset(ident 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.1337085250.txt.gz · Last modified: 2012/05/15 14:34 by Patrick Michel