Skip to content

Commit 31c8bd1

Browse files
committed
fix: twofa image as qr image
1 parent 67b7d58 commit 31c8bd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/handlers/user/user_handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ func (h *Handlers) EnableTwoFA(c *gin.Context) {
373373
"success": true,
374374
"message": "Two Factor Authentication Enabled Successfully",
375375
"data": gin.H{
376-
"qr_image": qr,
376+
"twofa_image": qr,
377377
"twofa_secret": setupKey,
378378
},
379379
})

0 commit comments

Comments
 (0)