chatwoot-develop/app/views/api/v1/profile/mfa/verify.json.jbuilder

3 lines
90 B
Ruby
Executable File

json.enabled @user.mfa_enabled?
json.backup_codes @backup_codes if @backup_codes.present?