Skip to content

Commit 03dedd4

Browse files
authored
bugfix: Added sign-in link under gitlab page template (#323)
Co-authored-by: Aleksei Apaseev <[email protected]>
1 parent da51c14 commit 03dedd4

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

auth_server/authn/data/gitlab_auth.tmpl

100644100755
+7-4
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
#login-with-gitlab code {
1717
font-size: 1.4em;
1818
}
19-
#revoke-access {
19+
#revoke-access, #sign-in {
2020
color: #666;
2121
font-size: 0.8em;
2222
text-decoration: none;
2323
}
24-
#revoke-access:hover {
24+
#revoke-access:hover, #sign-in:hover {
2525
text-decoration: underline;
2626
}
2727
</style>
@@ -30,8 +30,11 @@
3030
<body>
3131
<div id="panel">
3232
<p>
33-
<a id="gitlab-icon" href="{{.GitlabWebUri}}/oauth/authorize?client_id={{.ClientId}}&redirect_uri={{.RedirectUri}}&response_type=code&state=&scope=read_user">
34-
<img src="https://about.gitlab.com/images/press/logo/png/gitlab-logo-gray-stacked-rgb.png" width="155px" height="155px"></img>
33+
<img src="https://about.gitlab.com/images/press/logo/png/gitlab-logo-gray-stacked-rgb.png" width="155px" height="155px"></img>
34+
</p>
35+
<p>
36+
<a id="sign-in" href="{{.GitlabWebUri}}/oauth/authorize?client_id={{.ClientId}}&redirect_uri={{.RedirectUri}}&response_type=code&state=&scope=read_user">
37+
Login
3538
</a>
3639
</p>
3740
<p>

0 commit comments

Comments
 (0)