50c472991a
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
Branch Policy Check / Verify merge target (pull_request) Successful in 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Generic: Repo Health / Access control (pull_request) Successful in 1s
PR RC Release / Build RC Release (pull_request) Successful in 3s
Universal: PR Check / Validate PR (pull_request) Failing after 7s
Branch Cleanup / Delete merged branch (pull_request) Failing after 2s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || 'development' }}) (pull_request) Successful in 1m33s
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Report Issues (pull_request) Has been cancelled
- 403: OAuth buttons moved below password form (matches regular login) - 404: Login form with OAuth added for unauthenticated users - Both pages load OAuth2 providers and show Sign In with Google etc.
36 lines
1.4 KiB
Handlebars
36 lines
1.4 KiB
Handlebars
{{template "base/head" .}}
|
|
<div role="main" aria-label="{{.Title}}" class="page-content {{if .IsRepo}}repository{{end}}">
|
|
{{if .IsRepo}}{{template "repo/header" .}}{{end}}
|
|
<div class="ui container">
|
|
{{template "base/alert" .}}
|
|
<div class="status-page-error">
|
|
<div class="status-page-error-title">403 Access Denied</div>
|
|
<div class="tw-text-center">
|
|
<div class="tw-my-4">{{if .AccessDeniedPrompt}}{{.AccessDeniedPrompt}}{{else}}{{ctx.Locale.Tr "error403"}}{{end}}</div>
|
|
</div>
|
|
{{if not .IsSigned}}
|
|
<div class="tw-max-w-sm tw-mx-auto tw-mt-4">
|
|
<form class="ui form" action="{{AppSubUrl}}/user/login" method="post">
|
|
{{.CsrfTokenHtml}}
|
|
<input type="hidden" name="redirect_to" value="{{.CurrentURL}}">
|
|
<div class="required field">
|
|
<label>{{ctx.Locale.Tr "home.uname_holder"}}</label>
|
|
<input type="text" name="user_name" required autofocus>
|
|
</div>
|
|
<div class="required field">
|
|
<label>{{ctx.Locale.Tr "password"}}</label>
|
|
<input type="password" name="password" required>
|
|
</div>
|
|
<button class="ui primary fluid button tw-mt-2" type="submit">{{ctx.Locale.Tr "sign_in"}}</button>
|
|
</form>
|
|
{{if or .OAuth2Providers .EnableSSPI}}
|
|
<div class="divider"></div>
|
|
{{template "user/auth/external_auth_methods" .}}
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|