I'm not sure. I didn't bother rewriting login because I didn't see it as having any actual validation of the input.