Normalize the email address in the same way in all places
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Mon, 7 Jan 2013 09:16:20 +0000 (10:16 +0100)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Mon, 21 Jan 2013 14:38:57 +0000 (15:38 +0100)
commit0f9cf6ef32d659a653654f8f07229b044b59e5b2
tree161200bb78d0e6177e81c09d5e562212eab6bcd4
parent0c97a82556ae66fc5036547105607ef900b40033
Normalize the email address in the same way in all places

We were case normalizing the email address for registration, but not at
all for the forgotten password retrieval. Make a
tools.mail.normalize_email helper that can be used to normalize the
email in the same way in all places.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
mediagoblin/tools/mail.py