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:
Ritwik Puri 2022-12-27 12:56:53 +05:30 committed by GitHub
commit 09e500ea90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: