mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
added gpg initialization for autologin
- your friends are not authenticated if not git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2692 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1485ccbe87
commit
c30e0c071e
@ -116,8 +116,18 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// true: note auto-login is active
|
|
||||||
RsInit::LoadCertificates(true);
|
std::string preferredId, gpgId, gpgName, gpgEmail, sslName;
|
||||||
|
RsInit::getPreferedAccountId(preferredId);
|
||||||
|
|
||||||
|
if (RsInit::getAccountDetails(preferredId,
|
||||||
|
gpgId, gpgName, gpgEmail, sslName))
|
||||||
|
{
|
||||||
|
RsInit::SelectGPGAccount(gpgId);
|
||||||
|
}
|
||||||
|
|
||||||
|
// true: note auto-login is active
|
||||||
|
RsInit::LoadCertificates(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
rsicontrol->StartupRetroShare();
|
rsicontrol->StartupRetroShare();
|
||||||
|
Loading…
Reference in New Issue
Block a user