Merge pull request #2998 from seefs001/fix/pr-2900

Fix/pr 2900
This commit is contained in:
Calcium-Ion
2026-02-24 13:35:05 +08:00
committed by GitHub
2 changed files with 12 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ import (
"gorm.io/gorm"
)
const UserNameMaxLength = 20
// User if you add sensitive fields, don't forget to clean them in setupLogin function.
// Otherwise, the sensitive information will be saved on local storage in plain text!
type User struct {