Do not call out to addpubkey to regen the authkeys files, when the
user does not have a real account (frozen, unapproved, webonly, etc). Thats a error condition for addpubkey, since it gets called as user "nobody" and only certain operations are allowed as nobody, and regen is not one of them!
Please register or sign in to comment