test
This commit is contained in:
@@ -234,7 +234,7 @@ func (o *OAuthController) extractOrigin(request *http.Request) (string, string,
|
||||
}
|
||||
p := pp.Data[0].(*model.Peer)
|
||||
publicKey = p.PublicKey
|
||||
origin = p.Url
|
||||
origin = p.APIUrl
|
||||
if origin != "" { // is external
|
||||
if p.Relation == peer.SELF {
|
||||
external = false
|
||||
|
||||
Reference in New Issue
Block a user