This shows you the differences between two versions of the page.
stats:proc:validateaccount [2011/10/13 23:16] Patrick Michel |
stats:proc:validateaccount [2013/07/10 12:32] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Validate Account ====== | ||
- | |||
- | <code xcend> | ||
- | validateAccount(ident username, string code) { | ||
- | assume exists //accounts/account[username]/code; # implies existence of the account | ||
- | | ||
- | assume //accounts/account[username]/code = code; | ||
- | | ||
- | remove //accounts/account[username]/code; | ||
- | } | ||
- | </code> | ||