AdminUserName setting moved to AppConfig

main
Inga 🏳‍🌈 14 years ago
parent 86e68dafd5
commit a8d87058bc
  1. 2
      Builder/IISMainHandler/build.txt
  2. 3
      Common/Config.cs

@ -27,7 +27,7 @@ namespace FLocal.Common {
public readonly TimeSpan ActivityThreshold; public readonly TimeSpan ActivityThreshold;
public readonly string AdminUserName = "inga-lovinde"; public readonly string AdminUserName;
protected Config(NameValueCollection data) : base(data) { protected Config(NameValueCollection data) : base(data) {
this.InitTime = DateTime.Now.ToLongTimeString(); this.InitTime = DateTime.Now.ToLongTimeString();
@ -38,6 +38,7 @@ namespace FLocal.Common {
this.SaltPasswords = data["SaltPasswords"]; this.SaltPasswords = data["SaltPasswords"];
this.SaltUploader = data["SaltUploader"]; this.SaltUploader = data["SaltUploader"];
this.UploaderUrl = data["UploaderUrl"]; this.UploaderUrl = data["UploaderUrl"];
this.AdminUserName = data["AdminUserName"];
this.ActivityThreshold = TimeSpan.FromMinutes(int.Parse(data["ActivityThreshold"])); this.ActivityThreshold = TimeSpan.FromMinutes(int.Parse(data["ActivityThreshold"]));
} }

Loading…
Cancel
Save