Commit 3370a7de authored by kaiyou's avatar kaiyou

Temporary fix for omniauthable duplicates, waiting for upstream

parent 81cc3e00
Pipeline #953 passed with stage
in 4 minutes and 39 seconds
......@@ -82,7 +82,7 @@ module Omniauthable
username = starting_username
i = 0
while Account.exists?(username: username)
while Account.exists?(username: username, domain: nil)
i += 1
username = "#{starting_username}_#{i}"
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