Allow getting started mode with 2 users.
This commit is contained in:
parent
7d2bcd7b88
commit
21f1214c25
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class GettingStartedController < ApplicationController
|
|||
# check if first user already exists
|
||||
master_user = 0
|
||||
count = User.all.count()
|
||||
if count == 1
|
||||
if count >= 2
|
||||
master_user = 1
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue