Skip to content
Snippets Groups Projects

Make getting a user by the username case insensitive

Merged William George requested to merge awgeorge1/gitlab-ce:master into master
All threads resolved!
Compare and Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -53,6 +53,6 @@ def execute!
end
def input_is_id?
username_or_id.is_a?(Numeric) || username_or_id =~ /^\d+$/
@username_or_id.is_a?(Numeric) || @username_or_id =~ /^\d+$/
end
end
Loading