Fix in auth.py
This commit is contained in:
parent
5e1d8698c5
commit
f7dcd8eca8
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class HTTPRequest:
|
|||
|
||||
def connect(self, ac_name = None):
|
||||
"""connect to db, from ac_name or db_name"""
|
||||
frappe.local.db = frappe.db.Database(user = self.get_db_name(), \
|
||||
frappe.local.db = frappe.database.Database(user = self.get_db_name(), \
|
||||
password = getattr(conf,'db_password', ''))
|
||||
|
||||
class LoginManager:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue