userpage: use form langfile, move login strings to common

login-related stuff was moved into common using the langmover script, so
that the user page doesn't have to use the admin language files.
This commit is contained in:
Harvey Tindall
2023-06-17 12:48:28 +01:00
parent 96c62f556b
commit d3c5feaf1b
131 changed files with 569 additions and 474 deletions
+6
View File
@@ -373,3 +373,9 @@ type ReCaptchaResponseDTO struct {
Hostname string `json:"hostname"`
ErrorCodes []string `json:"error-codes"`
}
// MyDetailsDTO is sent to the user page to personalize it for the user.
type MyDetailsDTO struct {
Id string `json:"id"`
Username string `json:"username"`
}