Differences From
Artifact [54bd5bc381]:
159 159 -- otherwise, nobody could reset their passwords
160 160 -- (also dissuades people from giving root lightly)
161 161 return true
162 162 end
163 163 return self:outranks(other)
164 164 end
165 165
166 -terra m.actor.methods.handle_validate(hnd: rawstring)
167 - if hnd[0] == 0 then
166 +terra m.actor.methods.handle_validate(hnd: pstr)
167 + if hnd.ct == 0 then
168 168 return false
169 169 end
170 170 -- TODO validate fully
171 171 return true
172 172 end
173 173
174 174 terra m.actor.methods.mk(kbuf: &uint8)