diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2022-11-17 11:15:09 +0700 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2022-11-17 11:15:09 +0700 |
| commit | 7f08a09863e6bd8771e1de943228abdaf019a698 (patch) | |
| tree | 00f69ced1fe6897d83ec51ddcbc5842ba09beb06 /indoteknik_api/controllers/api_v1/login.py | |
| parent | 0195aeb8b16a46792eabc3491e186ee869b814ee (diff) | |
fallback pricelist and product solr by name
Diffstat (limited to 'indoteknik_api/controllers/api_v1/login.py')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/login.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_api/controllers/api_v1/login.py b/indoteknik_api/controllers/api_v1/login.py index cc440d26..5c6251ae 100644 --- a/indoteknik_api/controllers/api_v1/login.py +++ b/indoteknik_api/controllers/api_v1/login.py @@ -15,7 +15,7 @@ class Cart(controller.Controller): email = kw.get('email') password = kw.get('password') if not email or not password: - return self.response(code=400, description='username and password is required') + return self.response(code=400, description='email and password is required') try: uid = request.session.authenticate(config.get('db_name'), email, password) |
