maxcountryman/flask-login — pull request #33 by joelverhagen (2012-08-17 20:47:18+00:00)
Title: Added __eq__ and __ne__ methods to UserMixin.

Also added a relevant test.

We can use the `get_id()` method on the UserMixin to reliable compare the equality of UserMixin objects (very much like how [Django models](https://github.com/django/django/blob/master/django/db/models/base.py#L414) work).