summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/account/urls.py
diff options
context:
space:
mode:
authormaxbr <maxbr@mi.fu-berlin.de>2016-08-19 17:15:28 +0200
committermaxbr <maxbr@mi.fu-berlin.de>2016-08-19 17:15:28 +0200
commitebaa05ab2b53634a7a3e738618a031fd1518d796 (patch)
tree2df4bf769f6ed52f4b9109a96d3194aa5a95e453 /tools/pharos-dashboard/account/urls.py
parent54322038f766be460b676d60974886be5f04d8f3 (diff)
Use Jira Oauth for user authentication
JIRA: RELENG-12 Users can use their jira accounts for the dashboard. This also allows the dasboard to open jira tickets for bookings. Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'tools/pharos-dashboard/account/urls.py')
-rw-r--r--tools/pharos-dashboard/account/urls.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/pharos-dashboard/account/urls.py b/tools/pharos-dashboard/account/urls.py
index 5d681357..b837814a 100644
--- a/tools/pharos-dashboard/account/urls.py
+++ b/tools/pharos-dashboard/account/urls.py
@@ -14,13 +14,12 @@ Including another URLconf
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url
-from django.contrib.auth import views as auth_views
from account.views import *
urlpatterns = [
- url(r'^login/$', auth_views.login, name='login'),
- url(r'^logout/$', auth_views.logout, name='logout'),
- url(r'^register/', RegistrationView.as_view(), name='registration'),
url(r'^settings/', AccountSettingsView.as_view(), name='settings'),
+ url(r'^authenticated/$', JiraAuthenticatedView.as_view(), name='authenticated'),
+ url(r'^login/$', JiraLoginView.as_view(), name='login'),
+ url(r'^logout/$', JiraLogoutView.as_view(), name='logout')
]