Skip to content
Snippets Groups Projects
Forked from uffd / uffd
Loading
  • Julian's avatar
    620cf9ab
    Unique email addresses · 620cf9ab
    Julian authored
    Enforces uniqueness of (verified) email addresses across all users. Email
    addresses are compared case-insensitivly and Unicode-normalized. The new
    unique constraints are disabled by default and can be enabled with a CLI
    command. They are planned to become mandatory in uffd v3.
    
    A lot of software does not allow multiple users to share the same email
    address. This change prevents problems with such software.
    
    To enable this feature run the command:
    
      uffd-admin unique-email-addresses enable
    
    The commands reports any issues (e.g. existing duplicate addresses) that
    prevent enabling the feature.
    
    This change also introduces a generic mechanism to store feature flags in the
    database and improves error handling for login name constraint violations.
    620cf9ab
    History
    Unique email addresses
    Julian authored
    Enforces uniqueness of (verified) email addresses across all users. Email
    addresses are compared case-insensitivly and Unicode-normalized. The new
    unique constraints are disabled by default and can be enabled with a CLI
    command. They are planned to become mandatory in uffd v3.
    
    A lot of software does not allow multiple users to share the same email
    address. This change prevents problems with such software.
    
    To enable this feature run the command:
    
      uffd-admin unique-email-addresses enable
    
    The commands reports any issues (e.g. existing duplicate addresses) that
    prevent enabling the feature.
    
    This change also introduces a generic mechanism to store feature flags in the
    database and improves error handling for login name constraint violations.