accounts: Show "contact through" cog when only email is given"
one portion of #233: When adding an email address to an account, the admin (for now) will manually have to enable its use by clicking the cog icon and enabling "contact through email". Only for now, currently some other unfinished work is stopping me from committing the other portion of code for this issue.
This commit is contained in:
@@ -192,6 +192,8 @@ func (app *appContext) loadRoutes(router *gin.Engine) {
|
||||
api.GET(p+"/telegram/pin", app.TelegramGetPin)
|
||||
api.GET(p+"/telegram/verified/:pin", app.TelegramVerified)
|
||||
api.POST(p+"/users/telegram", app.TelegramAddUser)
|
||||
}
|
||||
if emailEnabled {
|
||||
api.POST(p+"/users/contact", app.SetContactMethods)
|
||||
}
|
||||
if discordEnabled {
|
||||
|
||||
Reference in New Issue
Block a user