(cfg *config.Config, isAdmin bool)
| 70 | } |
| 71 | |
| 72 | func canUserInvite(cfg *config.Config, isAdmin bool) bool { |
| 73 | return cfg.App.UserInvites != "" && |
| 74 | (isAdmin || cfg.App.UserInvites != "admin") |
| 75 | } |
| 76 | |
| 77 | func (up *UserPage) SetMessaging(u *User) { |
| 78 | // up.NeedsAuth = app.db.DoesUserNeedAuth(u.ID) |
no outgoing calls
no test coverage detected