From 1c83fd5ace2f53f76fa7d6c99864e91acfe0b0f3 Mon Sep 17 00:00:00 2001 From: mohiit1502 Date: Sat, 12 May 2018 23:49:54 +0530 Subject: [PATCH] Merged UI and backend --- app_fb/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_fb/api.py b/app_fb/api.py index 68d9d93..3d468d6 100644 --- a/app_fb/api.py +++ b/app_fb/api.py @@ -69,7 +69,7 @@ def user_actions(action): if action == 'login': username = request.form.get('username') password = request.form.get('password') - user = User(username, password, None, None, None, None, None, None, None, None, None, 'http://127.0.0.1:5003/app/images/image.png') + user = User(username, password, None, None, None, None, None, None, None, None, None, None, None, None, None) is_valid = mongo_user_dao.authenticate(user) name = mongo_user_dao.find_user_name_by_credentials(user) if is_valid is not None and is_valid: