Merge pull request #6457 from lol768/patch-1
Fix registration error info typo
This commit is contained in:
commit
6b522bf950
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue