mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-26 12:45:54 +00:00
Show OAuth2 errors to end users (#25261)
Partially fix #23936   
This commit is contained in:
parent
39a15623f6
commit
73ae71824d
6 changed files with 48 additions and 10 deletions
|
@ -1,6 +1,7 @@
|
|||
{{/* This page should only depend the minimal template functions/variables, to avoid triggering new panics.
|
||||
* base template functions: AppName, AssetUrlPrefix, AssetVersion, AppSubUrl, DefaultTheme, Str2html
|
||||
* locale
|
||||
* Flash
|
||||
* ErrorMsg
|
||||
* SignedUser (optional)
|
||||
*/}}
|
||||
|
@ -28,6 +29,10 @@
|
|||
</div>
|
||||
</nav>
|
||||
<div role="main" class="page-content status-page-500">
|
||||
<div class="ui container" >
|
||||
<style> .ui.message.flash-message { text-align: left; } </style>
|
||||
{{template "base/alert" .}}
|
||||
</div>
|
||||
<p class="gt-mt-5 center"><img src="{{AssetUrlPrefix}}/img/500.png" alt="Internal Server Error"></p>
|
||||
<div class="ui divider"></div>
|
||||
<div class="ui container gt-my-5">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue