mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
event logging
This commit is contained in:
parent
b6c676149a
commit
93ed361705
48 changed files with 861 additions and 853 deletions
|
@ -90,7 +90,6 @@ func Authenticate(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
|
||||
org, err := p.GetOrganizationByDomain(domain)
|
||||
|
||||
if err != nil {
|
||||
writeUnauthorizedError(w)
|
||||
return
|
||||
|
@ -111,7 +110,6 @@ func Authenticate(w http.ResponseWriter, r *http.Request) {
|
|||
authModel.User = user
|
||||
|
||||
json, err := json.Marshal(authModel)
|
||||
|
||||
if err != nil {
|
||||
writeJSONMarshalError(w, method, "user", err)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue