aboutsummaryrefslogtreecommitdiffstats
path: root/models/user/email_address_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Restrict email address validation (#17688)Lunny Xiao2022-03-141-0/+55
| | | This didn't follow the RFC but it's a subset of that. I think we should narrow the allowed chars at first and discuss more possibility in future PRs.
* Move more model into models/user (#17826)Lunny Xiao2021-11-281-0/+122
| | | | | | | | * Move more model into models/user * Remove unnecessary comment Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Decouple unit test code from business code (#17623)wxiaoguang2021-11-121-6/+7
|
* Move EmailAddress & UserRedirect into models/user/ (#17607)Lunny Xiao2021-11-111-0/+131
* Move EmailAddress into models/user/ * Fix test * rename user_mail to user_email * Fix test * Move UserRedirect into models/user/ * Fix lint & test * Fix lint * Fix lint * remove nolint comment * Fix lint