Add the wildcard field to accounts

This commit is contained in:
2018-03-06 01:06:47 +00:00
parent 32df489b50
commit bf9df9fc9f
2 changed files with 5 additions and 0 deletions

View File

@@ -36,4 +36,5 @@ following, though:
* `Account`
* `Username`
* `Admin`
* `Wildcard`
* `PasswordHash`

View File

@@ -25,6 +25,10 @@ type Account struct {
// is an admin, but others may be set up too if desired.
Admin bool
// Wildcard users are last-resort destinations for incoming mail. A domain
// should only have one of them.
Wildcard bool `storm:"index"`
// As generated by HashPassword
PasswordHash string
}