diff --git a/app/controllers/user_admin_controller.rb b/app/controllers/user_admin_controller.rb --- a/app/controllers/user_admin_controller.rb +++ b/app/controllers/user_admin_controller.rb @@ -38,6 +38,7 @@ def create @user = User.new(params[:user]) + @user.member1_full_name = @user.full_name @user.activated = true if @user.save flash[:notice] = 'User was successfully created.' diff --git a/config/environment.rb.SAMPLE b/config/environment.rb.SAMPLE --- a/config/environment.rb.SAMPLE +++ b/config/environment.rb.SAMPLE @@ -92,7 +92,7 @@ # Change this to allow importing testdata into database as test-pairs. # This is mainly for Code Jom contest. -ALLOW_TEST_PAIR_IMPORT = false +ALLOW_TEST_PAIR_IMPORT = true # Uncomment so that the system validates user e-mails # VALIDATE_USER_EMAILS = true