This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
stats:proc:createaccount [2011/09/28 21:09] Patrick Michel created |
stats:proc:createaccount [2011/09/29 19:28] Patrick Michel |
||
---|---|---|---|
Line 3: | Line 3: | ||
<code xcend> | <code xcend> | ||
# This doesn't take account validation into consideration at all. It probably has to be allowed to replace an unvalidated account. | # This doesn't take account validation into consideration at all. It probably has to be allowed to replace an unvalidated account. | ||
- | createAccount(ident username, string lastName, string firstName, string email, string password) { | + | createAccount(ident uid, ident username, string lastName, string firstName, string email, string password) { |
+ | assume exists //accounts/account[uid]/admin; | ||
assume not exists //accounts/account[username]; | assume not exists //accounts/account[username]; | ||
| |