mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-11 10:35:22 -04:00
Added support for Auto-login
- added checkbox in start dialog including warning (autologin not safe) - added check box in gen setting to disable autologin on shutdown git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2689 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f38c060fb6
commit
6b8f62d8f0
8 changed files with 114 additions and 68 deletions
|
@ -210,7 +210,9 @@ void GenCertDialog::genPerson()
|
|||
std::cerr << " generating sslPasswd." << std::endl;
|
||||
qsrand(time(NULL));
|
||||
std::string sslPasswd = "";
|
||||
for( int i = 0 ; i < 6 ; ++i )
|
||||
const int PWD_LEN = RsInit::getSslPwdLen();
|
||||
|
||||
for( int i = 0 ; i < PWD_LEN ; ++i )
|
||||
{
|
||||
int iNumber;
|
||||
iNumber = qrand()%25 + 65;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue