Author: mhabersack
Date: 2007-05-01 18:15:44 -0400 (Tue, 01 May 2007)
New Revision: 76551

Modified:
   trunk/mcs/class/System.Web/System.Web.Security/ChangeLog
   trunk/mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs
Log:
2007-05-02  Marek Habersack  <[EMAIL PROTECTED]>

        * FormsAuthentication.cs: user names are stored in lowercase in
        the credentials database.


Modified: trunk/mcs/class/System.Web/System.Web.Security/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Security/ChangeLog    2007-05-01 
20:57:47 UTC (rev 76550)
+++ trunk/mcs/class/System.Web/System.Web.Security/ChangeLog    2007-05-01 
22:15:44 UTC (rev 76551)
@@ -1,3 +1,8 @@
+2007-05-02  Marek Habersack  <[EMAIL PROTECTED]>
+
+       * FormsAuthentication.cs: user names are stored in lowercase in
+       the credentials database.
+
 2007-04-29 Igor Zelmanovich <[EMAIL PROTECTED]>
 
        * FormsAuthenticationModule.cs: 

Modified: trunk/mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs       
2007-05-01 20:57:47 UTC (rev 76550)
+++ trunk/mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs       
2007-05-01 22:15:44 UTC (rev 76551)
@@ -203,6 +203,7 @@
                        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;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to