TopCoder Reg2 - Redirect Unactivated User When login

Register
Submit a solution
The challenge is finished.

Challenge Overview

Project Overview

TopCoder Reg2 is a new version for simplified registration, we are going to update the logic to adapt for the new TopCoder site.

Competition Task Overview

For this contest, we are going to fix the following use case for redirecting uactiviated user to login.

Reproduce Steps

The following steps are based on current production, it is using reg2 logic, the logic can be found by https://tc.cloud.topcoder.com/reg2 in VM.

- Go to www.topcoder.com
- Click 'Register' button
- Fill in the details and complete the registration process
- DO NOT activate your topcoder account via the link in the activation/welcome email
- Go back to www.topcoder.com
- Click 'Login' link
- Enter your topcoder username and password
- Click 'Login' button
Expected Results: User should receive a friendly error message. Such as 'Your account is not active. Please activate your account from the link in the welcome email", please redirect to this new page that's in QA: http://tcqa1.wpengine.com/account-inactive/
which will be avaiable in production soon.
2) handle or password is wrong, or email is inactive.
 
Implementation Notes
Please make the redirect url configuration.
 

Virutal Machines (VMs)

VM specific information is found here: http://www.topcoder.com/wiki/display/docs/VM+Image+2.5

Upon registration as a submitter or reviewer you will need to request a VM based on the TopCoder systems image. The VM will be active through aggregation review, after which it will be terminated except for the winner's and the reviewers'. To request your image, please post in contest forum.

Before requesting your VM, you need to ensure that you have an SSH key created and in your member profile. Instructions to do so are here: http://www.topcoder.com/wiki/display/projects/Generate+SSH+Key, and instructions to connect afterwards are here: http://www.topcoder.com/wiki/display/projects/Connect+Using+SSH+Key.

Please realize that VMs are currently issued manually. We make every attempt to issue the VM as soon as it is requested, however, there may be delays of up to 12 hours depending on time of day when you request. We encourage everyone to request a VM as soon as possible to minimize any such delays.

 

 


Final Submission Guidelines

Submission Deliverables

Below is an overview of the deliverables:

  • changed source code

Final Submission

For each member, the final submission should be uploaded to the Online Review Tool.

Review style

Final Review

Community Review Board

Approval

User Sign-Off

Challenge links

ID: 30041305