forked from mirrors/gitea
234a7c19a4
The previous behavior was to set default values only if user.name was not set, but to always set it for both. This only sets a value if there wasn't one; this fixes cases where someone has a user.name but no user.email (see included Dockerfile) or someone has a user.email but no user.name (before the email would have been over-written). |
||
---|---|---|
.. | ||
access.go | ||
action.go | ||
admin.go | ||
git_diff.go | ||
issue.go | ||
login.go | ||
models_sqlite.go | ||
models.go | ||
oauth2.go | ||
org.go | ||
publickey.go | ||
release.go | ||
repo.go | ||
slack.go | ||
token.go | ||
update.go | ||
user.go | ||
webhook.go |