mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 07:36:41 +10:00
Merge pull request #6457 from lol768/patch-1
Fix registration error info typo
This commit is contained in:
+1
-1
@@ -249,7 +249,7 @@ class User < ActiveRecord::Base
|
||||
def namespace_uniq
|
||||
namespace_name = self.username
|
||||
if Namespace.find_by(path: namespace_name)
|
||||
self.errors.add :username, "already exist"
|
||||
self.errors.add :username, "already exists"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user