Fix registration error info typo
This commit is contained in:
parent
a9dcfd851f
commit
39bb54feb3
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