Add the wildcard field to accounts
This commit is contained in:
@@ -36,4 +36,5 @@ following, though:
|
|||||||
* `Account`
|
* `Account`
|
||||||
* `Username`
|
* `Username`
|
||||||
* `Admin`
|
* `Admin`
|
||||||
|
* `Wildcard`
|
||||||
* `PasswordHash`
|
* `PasswordHash`
|
||||||
|
@@ -25,6 +25,10 @@ type Account struct {
|
|||||||
// is an admin, but others may be set up too if desired.
|
// is an admin, but others may be set up too if desired.
|
||||||
Admin bool
|
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
|
// As generated by HashPassword
|
||||||
PasswordHash string
|
PasswordHash string
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user