Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
go-sso
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
id
go-sso
Commits
522bc582
Commit
522bc582
authored
6 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Fix a typo in u2f.js
parent
c31754c5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
server/bindata.go
+17
-17
17 additions, 17 deletions
server/bindata.go
server/static/js/u2f.js
+1
-1
1 addition, 1 deletion
server/static/js/u2f.js
server/templates/page.html
+3
-3
3 additions, 3 deletions
server/templates/page.html
with
21 additions
and
21 deletions
server/bindata.go
+
17
−
17
View file @
522bc582
...
...
@@ -74,7 +74,7 @@ func staticCssBootstrapMinCss() (*asset, error) {
return
nil
,
err
}
info
:=
bindataFileInfo
{
name
:
"static/css/bootstrap.min.css"
,
size
:
124962
,
mode
:
os
.
FileMode
(
4
36
),
modTime
:
time
.
Unix
(
15
10996
18
3
,
0
)}
info
:=
bindataFileInfo
{
name
:
"static/css/bootstrap.min.css"
,
size
:
124962
,
mode
:
os
.
FileMode
(
4
20
),
modTime
:
time
.
Unix
(
15
350134
18
,
0
)}
a
:=
&
asset
{
bytes
:
bytes
,
info
:
info
}
return
a
,
nil
}
...
...
@@ -147,7 +147,7 @@ func staticCssSigninCss() (*asset, error) {
return
nil
,
err
}
info
:=
bindataFileInfo
{
name
:
"static/css/signin.css"
,
size
:
1009
,
mode
:
os
.
FileMode
(
4
36
),
modTime
:
time
.
Unix
(
15
18963930
,
0
)}
info
:=
bindataFileInfo
{
name
:
"static/css/signin.css"
,
size
:
1009
,
mode
:
os
.
FileMode
(
4
20
),
modTime
:
time
.
Unix
(
15
35013418
,
0
)}
a
:=
&
asset
{
bytes
:
bytes
,
info
:
info
}
return
a
,
nil
}
...
...
@@ -169,7 +169,7 @@ func staticJsBootstrap400BetaMinJs() (*asset, error) {
return
nil
,
err
}
info
:=
bindataFileInfo
{
name
:
"static/js/bootstrap-4.0.0-beta.min.js"
,
size
:
51143
,
mode
:
os
.
FileMode
(
4
36
),
modTime
:
time
.
Unix
(
15
10996
18
3
,
0
)}
info
:=
bindataFileInfo
{
name
:
"static/js/bootstrap-4.0.0-beta.min.js"
,
size
:
51143
,
mode
:
os
.
FileMode
(
4
20
),
modTime
:
time
.
Unix
(
15
350134
18
,
0
)}
a
:=
&
asset
{
bytes
:
bytes
,
info
:
info
}
return
a
,
nil
}
...
...
@@ -190,7 +190,7 @@ func staticJsJquery321MinJs() (*asset, error) {
return
nil
,
err
}
info
:=
bindataFileInfo
{
name
:
"static/js/jquery-3.2.1.min.js"
,
size
:
86659
,
mode
:
os
.
FileMode
(
4
36
),
modTime
:
time
.
Unix
(
15
10996
18
3
,
0
)}
info
:=
bindataFileInfo
{
name
:
"static/js/jquery-3.2.1.min.js"
,
size
:
86659
,
mode
:
os
.
FileMode
(
4
20
),
modTime
:
time
.
Unix
(
15
350134
18
,
0
)}
a
:=
&
asset
{
bytes
:
bytes
,
info
:
info
}
return
a
,
nil
}
...
...
@@ -244,7 +244,7 @@ func staticJsLogoutJs() (*asset, error) {
return
nil
,
err
}
info
:=
bindataFileInfo
{
name
:
"static/js/logout.js"
,
size
:
1005
,
mode
:
os
.
FileMode
(
4
36
),
modTime
:
time
.
Unix
(
15
18964676
,
0
)}
info
:=
bindataFileInfo
{
name
:
"static/js/logout.js"
,
size
:
1005
,
mode
:
os
.
FileMode
(
4
20
),
modTime
:
time
.
Unix
(
15
35013418
,
0
)}
a
:=
&
asset
{
bytes
:
bytes
,
info
:
info
}
return
a
,
nil
}
...
...
@@ -266,7 +266,7 @@ func staticJsPopper1110MinJs() (*asset, error) {
return
nil
,
err
}
info
:=
bindataFileInfo
{
name
:
"static/js/popper-1.11.0.min.js"
,
size
:
19033
,
mode
:
os
.
FileMode
(
4
36
),
modTime
:
time
.
Unix
(
15
10996
18
3
,
0
)}
info
:=
bindataFileInfo
{
name
:
"static/js/popper-1.11.0.min.js"
,
size
:
19033
,
mode
:
os
.
FileMode
(
4
20
),
modTime
:
time
.
Unix
(
15
350134
18
,
0
)}
a
:=
&
asset
{
bytes
:
bytes
,
info
:
info
}
return
a
,
nil
}
...
...
@@ -1031,12 +1031,12 @@ func staticJsU2fApiJs() (*asset, error) {
return
nil
,
err
}
info
:=
bindataFileInfo
{
name
:
"static/js/u2f-api.js"
,
size
:
20880
,
mode
:
os
.
FileMode
(
4
36
),
modTime
:
time
.
Unix
(
15
10996
18
3
,
0
)}
info
:=
bindataFileInfo
{
name
:
"static/js/u2f-api.js"
,
size
:
20880
,
mode
:
os
.
FileMode
(
4
20
),
modTime
:
time
.
Unix
(
15
350134
18
,
0
)}
a
:=
&
asset
{
bytes
:
bytes
,
info
:
info
}
return
a
,
nil
}
var
_staticJsU2fJs
=
[]
byte
(
`var idu2f =
idp ||
{};
var
_staticJsU2fJs
=
[]
byte
(
`var idu2f = {};
idu2f.get_sign_request = function() {
return JSON.parse($('meta[name=u2f_request]').attr('value'));
...
...
@@ -1100,7 +1100,7 @@ func staticJsU2fJs() (*asset, error) {
return
nil
,
err
}
info
:=
bindataFileInfo
{
name
:
"static/js/u2f.js"
,
size
:
12
81
,
mode
:
os
.
FileMode
(
4
36
),
modTime
:
time
.
Unix
(
15
10996183
,
0
)}
info
:=
bindataFileInfo
{
name
:
"static/js/u2f.js"
,
size
:
12
74
,
mode
:
os
.
FileMode
(
4
20
),
modTime
:
time
.
Unix
(
15
41228751
,
0
)}
a
:=
&
asset
{
bytes
:
bytes
,
info
:
info
}
return
a
,
nil
}
...
...
@@ -1138,7 +1138,7 @@ func templatesLogin_otpHtml() (*asset, error) {
return
nil
,
err
}
info
:=
bindataFileInfo
{
name
:
"templates/login_otp.html"
,
size
:
529
,
mode
:
os
.
FileMode
(
4
36
),
modTime
:
time
.
Unix
(
15
10996
18
3
,
0
)}
info
:=
bindataFileInfo
{
name
:
"templates/login_otp.html"
,
size
:
529
,
mode
:
os
.
FileMode
(
4
20
),
modTime
:
time
.
Unix
(
15
350134
18
,
0
)}
a
:=
&
asset
{
bytes
:
bytes
,
info
:
info
}
return
a
,
nil
}
...
...
@@ -1198,7 +1198,7 @@ func templatesLogin_passwordHtml() (*asset, error) {
return
nil
,
err
}
info
:=
bindataFileInfo
{
name
:
"templates/login_password.html"
,
size
:
1074
,
mode
:
os
.
FileMode
(
4
36
),
modTime
:
time
.
Unix
(
15
10996
18
3
,
0
)}
info
:=
bindataFileInfo
{
name
:
"templates/login_password.html"
,
size
:
1074
,
mode
:
os
.
FileMode
(
4
20
),
modTime
:
time
.
Unix
(
15
350134
18
,
0
)}
a
:=
&
asset
{
bytes
:
bytes
,
info
:
info
}
return
a
,
nil
}
...
...
@@ -1238,7 +1238,7 @@ func templatesLogin_u2fHtml() (*asset, error) {
return
nil
,
err
}
info
:=
bindataFileInfo
{
name
:
"templates/login_u2f.html"
,
size
:
498
,
mode
:
os
.
FileMode
(
4
36
),
modTime
:
time
.
Unix
(
15
10996
18
3
,
0
)}
info
:=
bindataFileInfo
{
name
:
"templates/login_u2f.html"
,
size
:
498
,
mode
:
os
.
FileMode
(
4
20
),
modTime
:
time
.
Unix
(
15
350134
18
,
0
)}
a
:=
&
asset
{
bytes
:
bytes
,
info
:
info
}
return
a
,
nil
}
...
...
@@ -1319,7 +1319,7 @@ func templatesLogoutHtml() (*asset, error) {
return
nil
,
err
}
info
:=
bindataFileInfo
{
name
:
"templates/logout.html"
,
size
:
1510
,
mode
:
os
.
FileMode
(
4
36
),
modTime
:
time
.
Unix
(
15
18963960
,
0
)}
info
:=
bindataFileInfo
{
name
:
"templates/logout.html"
,
size
:
1510
,
mode
:
os
.
FileMode
(
4
20
),
modTime
:
time
.
Unix
(
15
35013418
,
0
)}
a
:=
&
asset
{
bytes
:
bytes
,
info
:
info
}
return
a
,
nil
}
...
...
@@ -1346,11 +1346,11 @@ var _templatesPageHtml = []byte(`{{define "header"}}<!DOCTYPE html>
<script src="/static/js/popper-1.11.0.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4"></script>
<script src="/static/js/bootstrap-4.0.0-beta.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1"></script>
{{if .U2FSignRequest}}
<script
type="text/javascript"
src="/static/js/u2f-api.js" integrity="sha384-9ChevE6pp8ArGK03HgolnFjZbF3webZQtYkwcabzbcI28Lx1/2x2j2fbaAWD4cgR"></script>
<script
type="text/javascript"
src="/static/js/u2f.js" integrity="sha384-
vd6lytRvVm189G5gr34wlOvN672vVBceTZqV+lTSeec0DBLc0GlWLyKDHc6mrIZS
"></script>
<script src="/static/js/u2f-api.js" integrity="sha384-9ChevE6pp8ArGK03HgolnFjZbF3webZQtYkwcabzbcI28Lx1/2x2j2fbaAWD4cgR"></script>
<script src="/static/js/u2f.js" integrity="sha384-
7zZy25ajTABErGlCQgcyRDpQDS9QVZv9o+95IfvCjWftQe20f411F1a39Ge5xmCe
"></script>
{{end}}
{{if .IncludeLogoutScripts}}
<script
type="text/javascript"
src="/static/js/logout.js" integrity="sha384-lChVngGLNFXetIJTSxc+scDpi1vsBL+7Xa4r2uZpQFP/6Y2z9eCDXe/Y4IUdklRD"></script>
<script src="/static/js/logout.js" integrity="sha384-lChVngGLNFXetIJTSxc+scDpi1vsBL+7Xa4r2uZpQFP/6Y2z9eCDXe/Y4IUdklRD"></script>
{{end}}
</body>
</html>
...
...
@@ -1367,7 +1367,7 @@ func templatesPageHtml() (*asset, error) {
return
nil
,
err
}
info
:=
bindataFileInfo
{
name
:
"templates/page.html"
,
size
:
16
86
,
mode
:
os
.
FileMode
(
4
36
),
modTime
:
time
.
Unix
(
15
18964680
,
0
)}
info
:=
bindataFileInfo
{
name
:
"templates/page.html"
,
size
:
16
17
,
mode
:
os
.
FileMode
(
4
20
),
modTime
:
time
.
Unix
(
15
41228908
,
0
)}
a
:=
&
asset
{
bytes
:
bytes
,
info
:
info
}
return
a
,
nil
}
...
...
This diff is collapsed.
Click to expand it.
server/static/js/u2f.js
+
1
−
1
View file @
522bc582
var
idu2f
=
idp
||
{};
var
idu2f
=
{};
idu2f
.
get_sign_request
=
function
()
{
return
JSON
.
parse
(
$
(
'
meta[name=u2f_request]
'
).
attr
(
'
value
'
));
...
...
This diff is collapsed.
Click to expand it.
server/templates/page.html
+
3
−
3
View file @
522bc582
...
...
@@ -20,11 +20,11 @@
<script
src=
"/static/js/popper-1.11.0.min.js"
integrity=
"sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4"
></script>
<script
src=
"/static/js/bootstrap-4.0.0-beta.min.js"
integrity=
"sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1"
></script>
{{if .U2FSignRequest}}
<script
type=
"text/javascript"
src=
"/static/js/u2f-api.js"
integrity=
"sha384-9ChevE6pp8ArGK03HgolnFjZbF3webZQtYkwcabzbcI28Lx1/2x2j2fbaAWD4cgR"
></script>
<script
type=
"text/javascript"
src=
"/static/js/u2f.js"
integrity=
"sha384-
vd6lytRvVm189G5gr34wlOvN672vVBceTZqV+lTSeec0DBLc0GlWLyKDHc6mrIZS
"
></script>
<script
src=
"/static/js/u2f-api.js"
integrity=
"sha384-9ChevE6pp8ArGK03HgolnFjZbF3webZQtYkwcabzbcI28Lx1/2x2j2fbaAWD4cgR"
></script>
<script
src=
"/static/js/u2f.js"
integrity=
"sha384-
7zZy25ajTABErGlCQgcyRDpQDS9QVZv9o+95IfvCjWftQe20f411F1a39Ge5xmCe
"
></script>
{{end}}
{{if .IncludeLogoutScripts}}
<script
type=
"text/javascript"
src=
"/static/js/logout.js"
integrity=
"sha384-lChVngGLNFXetIJTSxc+scDpi1vsBL+7Xa4r2uZpQFP/6Y2z9eCDXe/Y4IUdklRD"
></script>
<script
src=
"/static/js/logout.js"
integrity=
"sha384-lChVngGLNFXetIJTSxc+scDpi1vsBL+7Xa4r2uZpQFP/6Y2z9eCDXe/Y4IUdklRD"
></script>
{{end}}
</body>
</html>
...
...
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