Fix hound nits

This commit is contained in:
Andreas Nedbal 2022-02-13 19:23:40 +01:00 committed by Andreas Nedbal
parent 9899f05560
commit 1a829f5e47
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class UserController < ApplicationController
qr_code = RQRCode::QRCode.new(current_user.provisioning_uri("Retrospring:#{current_user.screen_name}", issuer: "Retrospring")) qr_code = RQRCode::QRCode.new(current_user.provisioning_uri("Retrospring:#{current_user.screen_name}", issuer: "Retrospring"))
@qr_svg = qr_code.as_svg({offset: 4, module_size: 4, color: "000;fill:var(--primary)"}).html_safe @qr_svg = qr_code.as_svg({ offset: 4, module_size: 4, color: "000;fill:var(--primary)" }).html_safe
else else
@recovery_code_count = current_user.totp_recovery_codes.count @recovery_code_count = current_user.totp_recovery_codes.count
end end