diff --git a/src/sharedrecords_db.go b/src/sharedrecords_db.go index 4e7aee3..863a407 100644 --- a/src/sharedrecords_db.go +++ b/src/sharedrecords_db.go @@ -7,7 +7,7 @@ import ( "time" uuid "github.com/hashicorp/go-uuid" - "github.com/paranoidguy/databunker/src/storage" + "github.com/securitybunker/databunker/src/storage" "go.mongodb.org/mongo-driver/bson" ) diff --git a/src/storage/go.mod b/src/storage/go.mod index 722078f..b95389a 100644 --- a/src/storage/go.mod +++ b/src/storage/go.mod @@ -1,3 +1,3 @@ -module github.com/paranoidguy/databunker/src/storage +module github.com/securitybunker/databunker/src/storage go 1.13 diff --git a/src/users_api.go b/src/users_api.go index 5f871ae..158b7c0 100644 --- a/src/users_api.go +++ b/src/users_api.go @@ -6,7 +6,7 @@ import ( "net/http" "github.com/julienschmidt/httprouter" - "github.com/paranoidguy/databunker/src/storage" + "github.com/securitybunker/databunker/src/storage" ) func (e mainEnv) userNew(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { @@ -318,7 +318,7 @@ func (e mainEnv) userPrelogin(w http.ResponseWriter, r *http.Request, ps httprou if userBson != nil { userTOKEN := userBson["token"].(string) event.Record = userTOKEN - if address == "4444" || address == "test@paranoidguy.com" { + if address == "4444" || address == "test@securitybunker.io" { // check if it is demo account. // the address is always 4444 // no need to send any notifications diff --git a/src/users_db.go b/src/users_db.go index f2f1a58..24bace5 100644 --- a/src/users_db.go +++ b/src/users_db.go @@ -10,7 +10,7 @@ import ( jsonpatch "github.com/evanphx/json-patch" uuid "github.com/hashicorp/go-uuid" - "github.com/paranoidguy/databunker/src/storage" + "github.com/securitybunker/databunker/src/storage" "go.mongodb.org/mongo-driver/bson" ) diff --git a/src/xtokens_db.go b/src/xtokens_db.go index 73fe0c4..57ec767 100644 --- a/src/xtokens_db.go +++ b/src/xtokens_db.go @@ -6,7 +6,7 @@ import ( "time" uuid "github.com/hashicorp/go-uuid" - "github.com/paranoidguy/databunker/src/storage" + "github.com/securitybunker/databunker/src/storage" "go.mongodb.org/mongo-driver/bson" ) diff --git a/src/xtokens_test.go b/src/xtokens_test.go index 5bdba1e..cb01e50 100644 --- a/src/xtokens_test.go +++ b/src/xtokens_test.go @@ -52,8 +52,8 @@ func helpCancelUserRequest(rtoken string) (map[string]interface{}, error) { } func TestUserLoginDelete(t *testing.T) { - email := "test@paranoidguy.com" - jsonData := `{"email":"test@paranoidguy.com","phone":"22346622","fname":"Yuli","lname":"Str","tz":"323xxxxx","password":"123456","address":"Y-d habanim 7","city":"Petah-Tiqva","btest":true,"numtest":123,"testnul":null}` + email := "test@securitybunker.io" + jsonData := `{"email":"test@securitybunker.io","phone":"22346622","fname":"Yuli","lname":"Str","tz":"323xxxxx","password":"123456","address":"Y-d habanim 7","city":"Petah-Tiqva","btest":true,"numtest":123,"testnul":null}` raw, err := helpCreateUser(jsonData) if err != nil { t.Fatalf("error: %s", err) diff --git a/user.json b/user.json index 757ecc9..9133dd6 100644 --- a/user.json +++ b/user.json @@ -1,5 +1,5 @@ { -"$id": "https://paranoidguy.com/schema/", +"$id": "https://privacybunker.io/schema/", "$comment" : "user record", "title": "user", "description": "user record",