Fix hound nits
This commit is contained in:
parent
9899f05560
commit
1a829f5e47
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue