Admin: auto enable contact when an email is added
"Contact through email" is now automatically enabled when adding an email address to an account without one on the admin page. Solves #233.
This commit is contained in:
+1
-1
@@ -326,7 +326,7 @@ func (app *appContext) TelegramAddUser(gc *gin.Context) {
|
||||
// @Success 200 {object} boolResponse
|
||||
// @Success 400 {object} boolResponse
|
||||
// @Success 500 {object} boolResponse
|
||||
// @Router /users/telegram/notify [post]
|
||||
// @Router /users/contact [post]
|
||||
// @Security Bearer
|
||||
// @tags Other
|
||||
func (app *appContext) SetContactMethods(gc *gin.Context) {
|
||||
|
||||
Reference in New Issue
Block a user