kossiitkgp / kwoc-2018

Web app for Kharagpur Winter of Code, 2018
https://kwoc.kossiitkgp.org
MIT License
0 stars 0 forks source link

[BUG] Student Entry Added Without Registration #147

Closed thealphadollar closed 5 years ago

thealphadollar commented 5 years ago

A student has reported that we are putting welcome without him registering for the program. I think this is an error in the auth code. Please look into this, @yashrsharma44 .

image

TheLethalCode commented 5 years ago

Where did the login info come from?

thealphadollar commented 5 years ago

Probably from AUTH.

On Tue 11 Dec, 2018, 15:43 Kousshik Raj <notifications@github.com wrote:

Where did the login info come from?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kossiitkgp/kwoc/issues/147#issuecomment-446146738, or mute the thread https://github.com/notifications/unsubscribe-auth/AfStICIodsiyg0tJWkbJbO4Knn0_V_pXks5u34VUgaJpZM4ZM_o2 .

TheLethalCode commented 5 years ago

I think I know what happened, because I rectified this problem for the registration form. The problem is when the user terminates the registration in between, his session is registered, but he is not added to the student list of registration. And now session['user'] is not None, it shows him as registered. I told you that was a temporary fix -_-