From 7c7f3677ba63625949f91009038bbf159e7b9bc9 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Mon, 25 Nov 2019 10:06:04 +0100 Subject: [PATCH] fix: [RoleManager] remove debug print --- var/www/modules/Role_Manager.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/var/www/modules/Role_Manager.py b/var/www/modules/Role_Manager.py index 9719dcae..631119cb 100644 --- a/var/www/modules/Role_Manager.py +++ b/var/www/modules/Role_Manager.py @@ -148,13 +148,8 @@ def create_user_db(username_id , password, default=False, role=None, update=Fals if default: r_serv_db.hset('user_metadata:{}'.format(username_id), 'change_passwd', True) if role: - print(role) - print(get_all_role()) if role in get_all_role(): - print('yep') - print(get_all_user_role(role)) for role_to_add in get_all_user_role(role): - print(role) r_serv_db.sadd('user_role:{}'.format(role_to_add), username_id) r_serv_db.hset('user_metadata:{}'.format(username_id), 'role', role)