Store encrypted company password hashes in server saves
Restore when loading back into the server if server has required secret
This commit is contained in:
@@ -361,6 +361,8 @@ struct NetworkSettings {
|
||||
std::string default_company_pass; ///< default password for new companies in encrypted form
|
||||
std::string connect_to_ip; ///< default for the "Add server" query
|
||||
std::string network_id; ///< network ID for servers
|
||||
std::string company_password_storage_token; ///< company password storage token
|
||||
std::string company_password_storage_secret; ///< company password storage secret
|
||||
bool autoclean_companies; ///< automatically remove companies that are not in use
|
||||
uint8 autoclean_unprotected; ///< remove passwordless companies after this many months
|
||||
uint8 autoclean_protected; ///< remove the password from passworded companies after this many months
|
||||
|
||||
Reference in New Issue
Block a user