From 500fe01b6e1b6590361910a6a956a930e50008b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Thu, 23 Mar 2017 17:41:14 +0100 Subject: [PATCH] Fix jira auth data creation --- taiga/importers/jira/api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/taiga/importers/jira/api.py b/taiga/importers/jira/api.py index 75c6e2c5..905631d8 100644 --- a/taiga/importers/jira/api.py +++ b/taiga/importers/jira/api.py @@ -13,6 +13,8 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . +import uuid + from django.utils.translation import ugettext as _ from django.conf import settings @@ -193,7 +195,7 @@ class JiraImporterViewSet(viewsets.ViewSet): user=request.user, key="jira-oauth", defaults={ - "value": "", + "value": uuid.uuid4().hex, "extra": {}, } )