Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OSUG
RESIF
ws-eidaauth
Commits
8829c2d8
Commit
8829c2d8
authored
Jul 16, 2019
by
Jonathan Schaeffer
Browse files
Log message
parent
5cb5e370
Changes
1
Hide whitespace changes
Inline
Side-by-side
eidawsauth/eidawsauth.py
View file @
8829c2d8
...
...
@@ -155,7 +155,7 @@ def cleanup():
cur
.
execute
(
"select user_index,login from users where expires_at < now();"
)
old_users_entries
=
cur
.
fetchall
()
old_users
=
','
.
join
(
str
(
u
[
0
])
for
u
in
old_users_entries
)
logging
.
debug
(
"
U
sers to delete : %s"
%
(
len
(
old_users_entries
),
old_users
))
logging
.
debug
(
"
%d u
sers to delete : %s"
%
(
len
(
old_users_entries
),
old_users
))
try
:
cur
.
execute
(
"""
delete from credentials where user_index in (%s)
...
...
Write
Preview
Supports
Markdown
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