mirror of
https://github.com/go-gitea/gitea
synced 2025-01-13 19:24:27 +00:00
Add user profile as alias.
This commit is contained in:
parent
0d120f8a8d
commit
5d61e5955b
@ -90,7 +90,9 @@ func WebfingerQuery(ctx *context.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
aliases := make([]string, 0, 1)
|
||||
aliases := []string{
|
||||
u.HTMLURL(),
|
||||
}
|
||||
if !u.KeepEmailPrivate {
|
||||
aliases = append(aliases, fmt.Sprintf("mailto:%s", u.Email))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user