• 
      

    Don't try to create an admin user if one already exists.

    Review Request #8618 — Created Jan. 15, 2017 and submitted — Latest diff uploaded

    Information

    Review Board
    release-3.0.x
    10cd228...

    Reviewers

    When setting up a site, it's possible that there will be existing data in the
    database (for example, when migrating a server, or when an initial installation
    attempt was cancelled). In this case, creating a superuser would fail due to a
    duplicate username. This change makes it so we check first to verify if data
    exists.

    Created a test site.