Remove ln_login from users
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

Not needed anymore, removing in favor of unencrypted `ln_account`.
This commit is contained in:
Râu Cao
2023-02-23 20:13:08 +08:00
parent 84337c3a7d
commit 3c2fe7c15d
8 changed files with 12 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ class WalletController < ApplicationController
before_action :fetch_balance
def index
@wallet_url = "lndhub://#{current_user.ln_login}:#{current_user.ln_password}@#{ENV['LNDHUB_PUBLIC_URL']}"
@wallet_url = "lndhub://#{current_user.ln_account}:#{current_user.ln_password}@#{ENV['LNDHUB_PUBLIC_URL']}"
qrcode = RQRCode::QRCode.new(@wallet_url)
@svg = qrcode.as_svg(