Skip to content
  • Lukas Fleischer's avatar
    Accept upper case letters in valid_username() · e0186706
    Lukas Fleischer authored
    In commit 0722f46c
    
     (Simplify valid_user() and valid_username(),
    2014-02-06), the conversion to lower case letters was unintentionally
    removed and in consequence, names with upper case letters have been
    rejected since then.
    
    Instead of reintroducing the conversion, add the "i" modifier to the
    regular expression validating the name to do case-insensitive pattern
    matching.
    
    Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
    e0186706