Commit 6b522bf9 authored by Sytse Sijbrandij's avatar Sytse Sijbrandij

Merge pull request #6457 from lol768/patch-1

Fix registration error info typo
parents 16f18227 39bb54fe
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment