auto mail generation
This commit is contained in:
@@ -202,6 +202,18 @@ type StaffInfo struct {
|
||||
// Without it every row on the console's Users & access screen read
|
||||
// "Unknown", because the field was never selected or sent.
|
||||
Status string `json:"status"`
|
||||
// Whether they have ever chosen a password.
|
||||
//
|
||||
// Every back-office account is created with an empty one and emailed a link
|
||||
// to set it. Until that link is used the person is in this list, in every
|
||||
// branch picker, and cannot sign in — and `Status` does not say so: an
|
||||
// Active account with no password is refused at the login screen like any
|
||||
// other. `false` is the row that needs an action, which is why the directory
|
||||
// reads it and offers a resend there and nowhere else.
|
||||
//
|
||||
// Computed in the query. `Password` is also on this struct, which is its own
|
||||
// problem, but nothing should have to look at it to answer this.
|
||||
IsSetUp bool `json:"issetup"`
|
||||
}
|
||||
|
||||
type Tenantuser struct {
|
||||
|
||||
Reference in New Issue
Block a user