diff options
author | ThibG <thib@sitedethib.com> | 2020-06-21 12:41:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-21 12:41:38 +0200 |
commit | c6904c0d3766a2ea8a81ab025c127169ecb51373 (patch) | |
tree | 864a6b63fdaa28b8bf59b42fc68131ec10230b6a /spec/models/identity_spec.rb | |
parent | 75a2b8f8153ce3a6496fcaf6eedf9f2bb7c729e6 (diff) |
Fix unique username constraint for local users not being enforced in database (#14099)
This should not be an issue in practice because of the Rails-level uniqueness check, but local accounts having a NULL domain means the uniqueness constraint did not apply to them (since no two NULL values are considered equal).
Diffstat (limited to 'spec/models/identity_spec.rb')
0 files changed, 0 insertions, 0 deletions