mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-28 20:55:42 +00:00
feat: add version information to login screen
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
"tinyauth/internal/auth"
|
||||
"tinyauth/internal/constants"
|
||||
"tinyauth/internal/docker"
|
||||
"tinyauth/internal/hooks"
|
||||
"tinyauth/internal/providers"
|
||||
@@ -565,6 +566,9 @@ func (h *Handlers) AppHandler(c *gin.Context) {
|
||||
ForgotPasswordMessage: h.Config.ForgotPasswordMessage,
|
||||
BackgroundImage: h.Config.BackgroundImage,
|
||||
OAuthAutoRedirect: h.Config.OAuthAutoRedirect,
|
||||
Version: constants.Version,
|
||||
BuildTimestamp: constants.BuildTimestamp,
|
||||
CommitHash: constants.CommitHash,
|
||||
}
|
||||
|
||||
// Return app context
|
||||
|
||||
Reference in New Issue
Block a user