Remove ln_login from users
Not needed anymore, removing in favor of unencrypted `ln_account`.
This commit is contained in:
@@ -39,7 +39,7 @@ class LndhubV2
|
||||
end
|
||||
|
||||
def authenticate(user)
|
||||
credentials = post "auth?type=auth", { login: user.ln_login, password: user.ln_password }
|
||||
credentials = post "auth?type=auth", { login: user.ln_account, password: user.ln_password }
|
||||
self.auth_token = credentials["access_token"]
|
||||
self.auth_token
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user