Replace hardcoded domains with primary domain setting

This commit is contained in:
Râu Cao
2023-06-16 14:38:04 +02:00
parent 34e4cec503
commit 589e46bc63
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
class CreateAccount < ApplicationService
def initialize(args)
@username = args[:username]
@domain = args[:ou] || "kosmos.org"
@domain = args[:ou] || Setting.primary_domain
@email = args[:email]
@password = args[:password]
@invitation = args[:invitation]