Fix in auth.py

This commit is contained in:
Rushabh Mehta 2014-02-26 15:02:28 +05:30
parent 5e1d8698c5
commit f7dcd8eca8

View file

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