The next generation of the Teknik Services. Written in ASP.NET. Fork for blog tags.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UserConfig.cs 530B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Teknik.Configuration
  7. {
  8. public class UserConfig
  9. {
  10. public bool RegistrationEnabled { get; set; }
  11. public bool LoginEnabled { get; set; }
  12. public List<string> ReservedUsernames { get; set; }
  13. public UserConfig()
  14. {
  15. RegistrationEnabled = true;
  16. LoginEnabled = true;
  17. ReservedUsernames = new List<string>();
  18. }
  19. }
  20. }