Only apply the auto_admin_user configuration rule when no admin users
authorWard Vandewege <ward@clinicalfuture.com>
Fri, 22 Nov 2013 01:05:27 +0000 (20:05 -0500)
committerWard Vandewege <ward@clinicalfuture.com>
Fri, 22 Nov 2013 01:05:27 +0000 (20:05 -0500)
commita2e80bb7be115806b445c93f3cd19c4dcc024eac
treee379e10d0532541e2be30e76fee485411daf728e
parentea6fac863db754cfe1681c5c9067139d31c8136d
Only apply the auto_admin_user configuration rule when no admin users
exist yet, but exclude the default root system user from that count.
Just in case.
services/api/app/models/user.rb