Sovite.Core.Repo.Schemas.User (sovite v0.2.0)

Copy Markdown View Source

A user who can authenticate (SMTP AUTH), with the sender addresses they may use.

Summary

Functions

User names are compared case-insensitively.

Types

t()

@type t() :: %Sovite.Core.Repo.Schemas.User{
  __meta__: term(),
  enabled: term(),
  id: term(),
  inserted_at: term(),
  password_hash: term(),
  sender_logins: term(),
  updated_at: term(),
  username: term()
}

Functions

normalize(username)

@spec normalize(String.t()) :: String.t()

User names are compared case-insensitively.