gitlabhq/gitlabhq — pull request #8246 by dluchinienoc (2014-11-04 15:05:03+00:00)
Title: Do not require immediate password reset if specifying a password

The database seeding routine allows for a password to be set for the root user, but will require that password to be immediately reset on first login.

This diff sets the password expiry time to nil if a password is provided at seed time.