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
S
sso
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ai
sso
Commits
82cfb694
Commit
82cfb694
authored
Jun 15, 2014
by
godog
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
let machdb client handle all defaults
parent
9882453c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/sso_server/sso_server/auth/auth_machdb.py
src/sso_server/sso_server/auth/auth_machdb.py
+1
-3
No files found.
src/sso_server/sso_server/auth/auth_machdb.py
View file @
82cfb694
...
...
@@ -10,8 +10,6 @@ from sso_server.auth import AuthBase
log
=
logging
.
getLogger
(
__name__
)
MACHDB_URL
=
os
.
getenv
(
'MACHDB_URL'
,
'https://machdb.investici.org:3000'
)
class
Updater
(
threading
.
Thread
):
...
...
@@ -49,7 +47,7 @@ class Auth(AuthBase):
logging
.
getLogger
(
'pyactiveresource'
).
setLevel
(
logging
.
ERROR
)
# Setup MachDB.
mdb
.
init
(
MACHDB_URL
)
mdb
.
init
()
self
.
auth_cache
=
{
'pwcache'
:
{},
'grpcache'
:
{},
'otpcache'
:
{}}
updater
=
Updater
(
self
.
auth_cache
)
...
...
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