Merge pull request #19407 from adityahase/fix-subscription-manage
fix(subscription): Allow remote_login even if subscription.expiry is not set
This commit is contained in:
commit
09e500ea90
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ import frappe
|
|||
def remote_login():
|
||||
try:
|
||||
login_url = frappe.conf.subscription["login_url"]
|
||||
if frappe.conf.subscription["expiry"] and login_url:
|
||||
if login_url:
|
||||
resp = requests.post(login_url)
|
||||
|
||||
if resp.status_code != 200:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue