Make isErrUserStatusError public and replace all verbose !IsErrAccountDisabled(err) && !IsErrAccountLocked(err) checks with the shorter IsErrUserStatusError(err) call. |
||
|---|---|---|
| .. | ||
| cmd.go | ||
| doctor.go | ||
| dump.go | ||
| healthcheck.go | ||
| migrate.go | ||
| repair.go | ||
| repair_file_mime_types.go | ||
| repair_orphan_positions.go | ||
| repair_projects.go | ||
| repair_task_positions.go | ||
| restore.go | ||
| testmail.go | ||
| user.go | ||
| version.go | ||
| web.go | ||