Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
auth_saml
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
auth_saml
Commits
010cf843
Commit
010cf843
authored
9 years ago
by
Florent Aide
Browse files
Options
Downloads
Patches
Plain Diff
docstrings
parent
a0843ae7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
model/auth_saml.py
+5
-1
5 additions, 1 deletion
model/auth_saml.py
with
5 additions
and
1 deletion
model/auth_saml.py
+
5
−
1
View file @
010cf843
# -*- encoding: utf-8 -*-
from
openerp
import
models
from
openerp
import
api
from
openerp
import
fields
...
...
@@ -14,6 +15,9 @@
@api.multi
def
_get_lasso_for_provider
(
self
):
"""
internal helper to get a configured lasso.Login object for the
given provider id
"""
# user is not connected yet... so use SUPERUSER_ID
# TODO: we should cache those results somewhere because it is
...
...
@@ -17,7 +21,7 @@
# user is not connected yet... so use SUPERUSER_ID
# TODO: we should cache those results somewhere because it is
# really costy to always recreate a login variable from buffers
# really cost
l
y to always recreate a login variable from buffers
server
=
lasso
.
Server
.
newFromBuffers
(
self
.
sp_metadata
,
self
.
sp_pkey
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment