mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 13:51:29 +01:00
a229e34387
* Add ALLOW_ONLY_INTERNAL_REGISTRATION into settings * OpenID respect setting too
12 lines
534 B
Handlebars
12 lines
534 B
Handlebars
<div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
|
|
<div class="new-menu-inner">
|
|
<a class="{{if .PageIsOpenIDConnect}}active{{end}} item" href="{{AppSubUrl}}/user/openid/connect">
|
|
{{.i18n.Tr "auth.openid_connect_title"}}
|
|
</a>
|
|
{{if and .EnableOpenIDSignUp (not .AllowOnlyInternalRegistration)}}
|
|
<a class="{{if .PageIsOpenIDRegister}}active{{end}} item" href="{{AppSubUrl}}/user/openid/register">
|
|
{{.i18n.Tr "auth.openid_register_title"}}
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|