Description:
hacked user creation to bypass member name validation, changed default config for test pair import
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r261:432c3e723bef - - 2 files changed: 2 inserted, 1 deleted

@@ -38,6 +38,7
38 38
39 39 def create
40 40 @user = User.new(params[:user])
41 + @user.member1_full_name = @user.full_name
41 42 @user.activated = true
42 43 if @user.save
43 44 flash[:notice] = 'User was successfully created.'
@@ -92,7 +92,7
92 92
93 93 # Change this to allow importing testdata into database as test-pairs.
94 94 # This is mainly for Code Jom contest.
95 - ALLOW_TEST_PAIR_IMPORT = false
95 + ALLOW_TEST_PAIR_IMPORT = true
96 96
97 97 # Uncomment so that the system validates user e-mails
98 98 # VALIDATE_USER_EMAILS = true
You need to be logged in to leave comments. Login now