Fix error when registering unverified users