summaryrefslogtreecommitdiff
path: root/indoteknik_api/controllers/api_v1/login.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-11-17 17:20:23 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-11-17 17:20:23 +0700
commit96af7230bdd79234fadeca8110b65dafa5b70a53 (patch)
treef3f37c555fe939852db2659f52e344e48acc1202 /indoteknik_api/controllers/api_v1/login.py
parentfa27a62a2ecc046020e57849838b633d78a99c36 (diff)
parentf168734f000ea34fc3a15bdf4b6af9f4fe797d06 (diff)
Merge branch 'master' of git@bitbucket.org:altafixco/indoteknik-addons.git
Diffstat (limited to 'indoteknik_api/controllers/api_v1/login.py')
-rw-r--r--indoteknik_api/controllers/api_v1/login.py2
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)