Skip to content

Commit 53a24f4

Browse files
minor bugfix, using uninitialised user_credentials_
1 parent 55bdd87 commit 53a24f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/maidsafe/session_handler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ void SessionHandler<Session>::Login(authentication::UserCredentials&& user_crede
169169
if (session_)
170170
BOOST_THROW_EXCEPTION(MakeError(CommonErrors::invalid_parameter));
171171

172-
Identity session_location{ detail::GetSessionLocation(*user_credentials_.keyword,
173-
*user_credentials_.pin) };
172+
Identity session_location{ detail::GetSessionLocation(*user_credentials.keyword,
173+
*user_credentials.pin) };
174174
LOG(kVerbose) << "Session location: " << HexSubstr(session_location);
175175
auto versions_future =
176176
session_getter_->data_getter().GetVersions(MutableData::Name(session_location));

0 commit comments

Comments
 (0)