Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
d0e5ffeb
Commit
d0e5ffeb
authored
Jan 16, 2020
by
Lukas Burgey
Browse files
Revert "Fix the auth urls"
This reverts commit
6957ee19
.
parent
100cf5af
Changes
1
Hide whitespace changes
Inline
Side-by-side
feudal/backend/auth/v1/urls.py
View file @
d0e5ffeb
...
...
@@ -5,13 +5,13 @@ from django.views.decorators.csrf import csrf_exempt
from
.views
import
webpage
,
clients
URLPATTERNS
=
[
url
(
r
'
/
info
$
'
,
webpage
.
AuthInfo
.
as_view
()),
url
(
r
'
/
request
$
'
,
webpage
.
Auth
.
as_view
(),
name
=
'login'
),
url
(
r
'
/
callback
$
'
,
webpage
.
AuthCallback
.
as_view
(),
name
=
'callback'
),
url
(
r
'
/
logout
$
'
,
webpage
.
LogoutView
.
as_view
()),
url
(
r
'
^
info'
,
webpage
.
AuthInfo
.
as_view
()),
url
(
r
'
^
request'
,
webpage
.
Auth
.
as_view
(),
name
=
'login'
),
url
(
r
'
^
callback'
,
webpage
.
AuthCallback
.
as_view
(),
name
=
'callback'
),
url
(
r
'
^
logout'
,
webpage
.
LogoutView
.
as_view
()),
url
(
r
'
/
client/user
$
'
,
csrf_exempt
(
clients
.
user_endpoint
)),
url
(
r
'
/
client/vhost
$
'
,
csrf_exempt
(
clients
.
vhost_endpoint
)),
url
(
r
'
/
client/resource
$
'
,
csrf_exempt
(
clients
.
resource_endpoint
)),
url
(
r
'
/
client/topic
$
'
,
csrf_exempt
(
clients
.
topic_endpoint
)),
url
(
r
'
^
client/user'
,
csrf_exempt
(
clients
.
user_endpoint
)),
url
(
r
'
^
client/vhost'
,
csrf_exempt
(
clients
.
vhost_endpoint
)),
url
(
r
'
^
client/resource'
,
csrf_exempt
(
clients
.
resource_endpoint
)),
url
(
r
'
^
client/topic'
,
csrf_exempt
(
clients
.
topic_endpoint
)),
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment