]> cat aescling's git repositories - mastodon.git/commit
Permit dots in usernames with conditions (#6844)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 21 Mar 2018 09:26:53 +0000 (10:26 +0100)
committerGitHub <noreply@github.com>
Wed, 21 Mar 2018 09:26:53 +0000 (10:26 +0100)
commit93897134caf42f1b70620282cef04865af7026b1
tree6868a3d7b6eedc44170ee87bb54564cddf5f133a
parenta6b59cd1a32ce2d9ac54fa7b5e04672a63692fdf
Permit dots in usernames with conditions (#6844)

* Permit dots in usernames with conditions

- Dot cannot be the start or end of username
- a.lice and al.ice are considered the same during sign-up

* Fix regex mixin flags
app/models/account.rb
app/validators/unique_username_validator.rb [new file with mode: 0644]