2007-05-02 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Tue, 1 May 2007 22:15:44 +0000 (22:15 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Tue, 1 May 2007 22:15:44 +0000 (22:15 -0000)
* FormsAuthentication.cs: user names are stored in lowercase in
the credentials database.

svn path=/trunk/mcs/; revision=76551

mcs/class/System.Web/System.Web.Security/ChangeLog
mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs

index 4ba5429ae49525189a31faefce17352ddd983b77..2e06b449c83b1e5b309d2d78370aa1426f47cba3 100644 (file)
@@ -1,3 +1,8 @@
+2007-05-02  Marek Habersack  <mhabersack@novell.com>
+
+       * FormsAuthentication.cs: user names are stored in lowercase in
+       the credentials database.
+
 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
 
        * FormsAuthenticationModule.cs: 
index 5cc10b82aea12bf43cd6e89573d7342dc1552111..6f9a181c7fd7e0d01153b3e52812b54e33fb8575 100644 (file)
@@ -203,6 +203,7 @@ namespace System.Web.Security
                        if (context == null)
                                throw new HttpException ("Context is null!");
 
+                       name = name.ToLower ();
 #if NET_2_0
                        AuthenticationSection section = (AuthenticationSection) WebConfigurationManager.GetSection (authConfigPath);
                        FormsAuthenticationCredentials config = section.Forms.Credentials;