Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • jwt_encode_inconsistencies
  • recovery-code-pwhash
  • incremental-sync
  • redis-rate-limits
  • typehints
  • v1.2.x
  • v1.x.x
  • v1.1.x
  • feature_invite_validuntil_minmax
  • Dockerfile
  • v1.0.x
  • roles-recursive-cte
  • v2.3.1
  • v2.3.0
  • v2.2.0
  • v2.1.0
  • v2.0.1
  • v2.0.0
  • v1.2.0
  • v1.1.2
  • v1.1.1
  • v1.0.2
  • v1.1.0
  • v1.0.1
  • v1.0.0
  • v0.3.0
  • v0.2.0
  • v0.1.5
  • v0.1.4
  • v0.1.2
31 results

user.py

Blame
  • Forked from uffd / uffd
    Source project has a limited visibility.
    • 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.