Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
ee56c780
Commit
ee56c780
authored
3 years ago
by
Jonah Husson
Browse files
Options
Downloads
Patches
Plain Diff
Add AddIdentity call to login
parent
3370fee7
No related branches found
No related tags found
2 merge requests
!510
Release
,
!249
Increase bindings timeout in cmix params to 45 seconds
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
bindings/e2e.go
+1
-0
1 addition, 0 deletions
bindings/e2e.go
xxdk/e2e.go
+3
-2
3 additions, 2 deletions
xxdk/e2e.go
with
4 additions
and
2 deletions
bindings/e2e.go
+
1
−
0
View file @
ee56c780
...
...
@@ -62,6 +62,7 @@ func LoginE2e(cmixId int, callbacks AuthCallbacks, identity []byte) (*E2e, error
if
err
!=
nil
{
return
nil
,
err
}
return
e2eTrackerSingleton
.
make
(
newE2e
),
nil
}
...
...
This diff is collapsed.
Click to expand it.
xxdk/e2e.go
+
3
−
2
View file @
ee56c780
...
...
@@ -168,8 +168,6 @@ func LoginWithProtoClient(storageDir string, password []byte,
return
nil
,
err
}
c
.
network
.
AddIdentity
(
c
.
GetUser
()
.
ReceptionID
,
time
.
Time
{},
true
)
// FIXME: The callbacks need to be set, so I suppose we would need to
// either set them via a special type or add them
// to the login call?
...
...
@@ -203,6 +201,9 @@ func login(client *Cmix, callbacks auth.Callbacks,
identity
.
ID
.
String
())
}
// Add the identity to tracking
client
.
network
.
AddIdentity
(
identity
.
ID
,
time
.
Time
{},
true
)
e2eGrp
:=
client
.
GetStorage
()
.
GetE2EGroup
()
m
=
&
E2e
{
Cmix
:
client
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment