diff --git a/juser/views.py b/juser/views.py index cc18d7e9a..fd42cd662 100644 --- a/juser/views.py +++ b/juser/views.py @@ -147,7 +147,7 @@ def user_add(request): groups = request.POST.getlist('groups', []) admin_groups = request.POST.getlist('admin_groups', []) role = request.POST.get('role', 'CU') - uuid_r = uuid.uuid1() + uuid_r = uuid.uuid4().get_hex() ssh_key_pwd = PyCrypt.gen_rand_pass(16) extra = request.POST.getlist('extra', []) is_active = False if '0' in extra else True diff --git a/templates/jperm/perm_rule_list.html b/templates/jperm/perm_rule_list.html index 8077a3842..11c40fbf6 100644 --- a/templates/jperm/perm_rule_list.html +++ b/templates/jperm/perm_rule_list.html @@ -35,7 +35,6 @@