Skip to content
Snippets Groups Projects
Commit c83858bf authored by Bernardo Cardoso's avatar Bernardo Cardoso
Browse files

Last small fixes after running integration

parent b9013bef
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ func FormatTextMessage(message string) []byte { ...@@ -53,7 +53,7 @@ func FormatTextMessage(message string) []byte {
func NewClient(s globals.Storage, loc string) (*Client, error) { func NewClient(s globals.Storage, loc string) (*Client, error) {
var store globals.Storage var store globals.Storage
if s == nil { if s == nil {
globals.Log.WARN.Printf("No storage provided," + globals.Log.INFO.Printf("No storage provided," +
" initializing Client with default storage") " initializing Client with default storage")
store = &globals.DefaultStorage{} store = &globals.DefaultStorage{}
} else { } else {
......
...@@ -22,6 +22,7 @@ import ( ...@@ -22,6 +22,7 @@ import (
"gitlab.com/elixxir/client/parse" "gitlab.com/elixxir/client/parse"
"gitlab.com/elixxir/client/user" "gitlab.com/elixxir/client/user"
"gitlab.com/elixxir/comms/connect" "gitlab.com/elixxir/comms/connect"
"gitlab.com/elixxir/crypto/certs"
"gitlab.com/elixxir/crypto/cyclic" "gitlab.com/elixxir/crypto/cyclic"
"gitlab.com/elixxir/primitives/format" "gitlab.com/elixxir/primitives/format"
"gitlab.com/elixxir/primitives/id" "gitlab.com/elixxir/primitives/id"
...@@ -142,7 +143,7 @@ func sessionInitialization() { ...@@ -142,7 +143,7 @@ func sessionInitialization() {
// Log the user in // Log the user in
uid := id.NewUserFromUint(userId, nil) uid := id.NewUserFromUint(userId, nil)
_, err = client.Login(uid, gwAddr, "") _, err = client.Login(uid, gwAddr, certs.GatewayTLS)
if err != nil { if err != nil {
fmt.Printf("Could Not Log In\n") fmt.Printf("Could Not Log In\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment