Ignore:
Timestamp:
Jan 31, 2011, 1:35:16 PM (11 years ago)
Author:
kopal
Message:

added "Remember my password" button. So the user can decide if he wants to save his password on the machine or not

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypP2P/Internal/ConnectionManager.cs

    r2435 r2540  
    119119            }
    120120
    121             if (String.IsNullOrEmpty(P2PSettings.Default.Password))
     121            string password = null;
     122            if (P2PSettings.Default.RememberPassword)
     123            {
     124                password = P2PBase.DecryptString(P2PSettings.Default.Password);
     125            }
     126            else
     127            {
     128                password = P2PBase.DecryptString(P2PBase.Password);
     129            }
     130
     131            if (String.IsNullOrEmpty(password))
    122132            {
    123133                P2PManager.GuiLogMessage("Peer-to-peer not fully configured: password missing.",
Note: See TracChangeset for help on using the changeset viewer.