Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
hdacloud
dex
Commits
c6fa4556
Unverified
Commit
c6fa4556
authored
1 year ago
by
mountcount
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
chore: fix function names in comment (#3464)
Signed-off-by:
mountcount
<
cuimoman@outlook.com
>
parent
2e823e31
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
connector/saml/saml.go
+1
-1
1 addition, 1 deletion
connector/saml/saml.go
storage/ent/db/ent.go
+1
-1
1 addition, 1 deletion
storage/ent/db/ent.go
with
2 additions
and
2 deletions
connector/saml/saml.go
+
1
−
1
View file @
c6fa4556
...
@@ -530,7 +530,7 @@ func (p *provider) validateSubject(subject *subject, inResponseTo string) error
...
@@ -530,7 +530,7 @@ func (p *provider) validateSubject(subject *subject, inResponseTo string) error
return
fmt
.
Errorf
(
"failed to validate subject confirmation: %v"
,
errs
)
return
fmt
.
Errorf
(
"failed to validate subject confirmation: %v"
,
errs
)
}
}
// validat
ion
Conditions ensures that dex is the intended audience
// validat
e
Conditions ensures that dex is the intended audience
// for the request, and not another service provider.
// for the request, and not another service provider.
//
//
// See: https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
// See: https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
...
...
This diff is collapsed.
Click to expand it.
storage/ent/db/ent.go
+
1
−
1
View file @
c6fa4556
...
@@ -78,7 +78,7 @@ var (
...
@@ -78,7 +78,7 @@ var (
columnCheck
sql
.
ColumnCheck
columnCheck
sql
.
ColumnCheck
)
)
// column
Checker
checks if the column exists in the given table.
// c
heckC
olumn checks if the column exists in the given table.
func
checkColumn
(
table
,
column
string
)
error
{
func
checkColumn
(
table
,
column
string
)
error
{
initCheck
.
Do
(
func
()
{
initCheck
.
Do
(
func
()
{
columnCheck
=
sql
.
NewColumnCheck
(
map
[
string
]
func
(
string
)
bool
{
columnCheck
=
sql
.
NewColumnCheck
(
map
[
string
]
func
(
string
)
bool
{
...
...
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