Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
ws-eidaauth
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OSUG
RESIF
ws-eidaauth
Commits
b090dc9d
Commit
b090dc9d
authored
Aug 06, 2020
by
Jonathan Schaeffer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Details
parent
6b851367
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
eidawsauth/eidawsauth.py
eidawsauth/eidawsauth.py
+1
-4
No files found.
eidawsauth/eidawsauth.py
View file @
b090dc9d
...
...
@@ -20,12 +20,9 @@ else:
# Loglevel can be overrinden by LOGLEVEL env var :
if
os
.
getenv
(
'DEBUG'
)
==
'true'
:
application
.
logger
.
setLevel
(
logging
.
DEBUG
)
else
:
application
.
logger
.
setLevel
(
logging
.
INFO
)
application
.
config
.
from_object
(
Configurator
)
def
wsshash
(
login
,
password
):
"""
Compute a hash suitable for the IRIS wss stack.
...
...
@@ -228,7 +225,7 @@ def auth():
register_privileges
(
login
,
tokendict
)
return
"%s:%s"
%
(
login
,
password
)
else
:
return
Response
(
'Internal server error. Contact resif-dc@univ-grenoble-alpes.fr'
,
status
=
500
)
return
Response
(
"Internal server error. Contact %s"
%
(
application
.
config
[
'SUPPORT_EMAIL'
])
,
status
=
500
)
if
__name__
==
"__main__"
:
application
.
logger
.
info
(
"Running in %s mode"
%
(
application
.
config
[
'ENVIRONMENT'
]))
...
...
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