Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
0790aab5
Commit
0790aab5
authored
Nov 22, 2018
by
Lukas Burgey
Browse files
Add exception reporting to auth view
parent
56e51ebd
Changes
1
Hide whitespace changes
Inline
Side-by-side
feudal/backend/auth/v1/views/webpage.py
View file @
0790aab5
...
...
@@ -85,6 +85,11 @@ class Auth(View):
request
.
session
[
'error'
]
=
'Server Error'
return
redirect
(
'/'
)
except
:
# the error is deleted from the session when the state is delivered
request
.
session
[
'error'
]
=
'Server Error'
return
redirect
(
'/'
)
class
AuthCallback
(
View
):
def
get
(
self
,
request
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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