This commit is contained in:
@@ -664,9 +664,12 @@ func main() {
|
||||
http.Error(w, "invalid chat message", http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
session, ok := authenticateCreator(w, r)
|
||||
if !ok && request.SyntheticAcceptance {
|
||||
var session identity.CreatorSession
|
||||
var ok bool
|
||||
if request.SyntheticAcceptance {
|
||||
session, ok = authenticateAcceptanceSession(w, r)
|
||||
} else {
|
||||
session, ok = authenticateCreator(w, r)
|
||||
}
|
||||
if !ok {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user