This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
dex/user
Eric Chiang 137330b202 user: fix bug in ValidEmail helper
mail.ParseAddress will stop parsing a string once it finds a valid
email address. This means you could give ValidUser an email
address followed by junk and it would mark it valid.

This commit fixes this behavior and adds some more test cases.

Fixes #189
2015-12-01 09:06:30 -08:00
..
api server: endpoint and system for sending invitations to dex 2015-11-18 14:24:19 -08:00
email server: endpoint and system for sending invitations to dex 2015-11-18 14:24:19 -08:00
email_verification.go server: endpoint and system for sending invitations to dex 2015-11-18 14:24:19 -08:00
email_verification_test.go tests: fix user tests with for new behavior 2015-10-16 16:43:52 -07:00
invitation.go server: endpoint and system for sending invitations to dex 2015-11-18 14:24:19 -08:00
invitation_test.go server: endpoint and system for sending invitations to dex 2015-11-18 14:24:19 -08:00
manager.go server: endpoint and system for sending invitations to dex 2015-11-18 14:24:19 -08:00
manager_test.go *: move original project to dex 2015-08-18 11:26:57 -07:00
password.go server: endpoint and system for sending invitations to dex 2015-11-18 14:24:19 -08:00
password_test.go server: endpoint and system for sending invitations to dex 2015-11-18 14:24:19 -08:00
user.go user: fix bug in ValidEmail helper 2015-12-01 09:06:30 -08:00
user_test.go user: fix bug in ValidEmail helper 2015-12-01 09:06:30 -08:00
util.go *: move original project to dex 2015-08-18 11:26:57 -07:00