Fixed master agent creation on getting_started.
This commit is contained in:
parent
4e67df9573
commit
f6fd9673de
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class GettingStartedController < ApplicationController
|
||||||
# check if first user already exists
|
# check if first user already exists
|
||||||
master_user = 0
|
master_user = 0
|
||||||
count = User.all.count()
|
count = User.all.count()
|
||||||
if count == 1
|
if count <= 2
|
||||||
master_user = 1
|
master_user = 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue