leapcode/leap_web — pull request #70 by azul (2013-08-21 07:50:57+00:00)
Title: use the same login validations on sessions and users

The session ones were outdated so valid usernames could not login if they contained a '.'

Refactored so both models use the same module for this validation to ensure consistency.
This should fix the one integration test that fails occasionally.