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:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user