From 69e0b9d3383f419cbfa9e3408e0348175a093d54 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Thu, 24 Feb 2011 00:07:04 +0300 Subject: [PATCH] SONAR-2233 Allow to create user with uppercase characters in login --- sonar-server/src/main/webapp/WEB-INF/app/models/user.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/user.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/user.rb index 677bdd2d07c..abf3a00c846 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/models/user.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/models/user.rb @@ -60,9 +60,6 @@ class User < ActiveRecord::Base result.blank? ? login : result end - def login=(value) - write_attribute :login, (value ? value.downcase : nil) - end def email=(value) write_attribute :email, (value ? value.downcase : nil) -- 2.39.5