Define user.Email as sql.NullString to avoid unique constraint when email is empty in LDAP/OIDC Separate the common/models/User with the pkg/user/dao/User Fixes #10400 Signed-off-by: stonezdj <stonezdj@gmail.com>