Repository: Cloud-CV/EvalAI
Issue: Show meaningful error message when account not activated
Root cause: Validation Gap

_Thanks for taking the time to report a bug in the EvalAI project, or propose a new feature! Before creating a new issue, please do a quick search to check that it hasn't already been filed on the [issue tracker](https://github.com/Cloud-CV/EvalAI/issues)._

If you'd like to report a bug, please include the following information:
- the expected behaviour -> It should display a Error Page saying i should verify my account.
- the observed behaviour -> It' doesn't display that error message but something tottaly else
https://screenshots.firefox.com/OiopQ4VPLV7kcjCn/evalai.cloudcv.org
- steps to reproduce the problem
Login to account without veryfing account
- which operating system and/or browser you're using, if relevant
Firefox 57, Mac Os El Capitan
- (if possible) copies of the console/server logs
N/A


@MatejMecka this is done intentionally so that unverified accounts cannot use EvalAI for creating teams, challenges, participant teams etc. 

@deshraj I think this issue is related to error message, as per screenshot it is showing false rather it should say some valid message. Thoughts?

shouldn't it atleast be a much more descriptive message. Right now it's
kinda a weird Error message.

On Thu, Oct 26, 2017 at 8:57 PM Deshraj Yadav <notifications@github.com>
wrote:

> @MatejMecka <https://github.com/matejmecka> this is done intentionally so
> that unverified accounts cannot use EvalAI for creating teams, challenges,
> participant teams etc.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/Cloud-CV/EvalAI/issues/1337#issuecomment-339764978>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AXIdPPSTznFfpvLXziJzVzJhrACMQgPQks5swNYIgaJpZM4QICyN>
> .
>
-- 
----------------------------------------------------
Matej Plavevski
Google Code In Finalist for CCExtractor Development 2016!

Facebook: https://www.facebook.com/matej.plavevski
Twitter: https://twitter.com/MatejMecka
GitHub: https://github.com/MatejMecka


I see. Sorry for the confusion @MatejMecka. Reopening this one and updating the title of the issue for more clarity. 

Feel free to work on this if you are interested in working on this one. 

On it. // Aborted.

@AmosHason Let's ask @MatejMecka if he is interested in working on this. If not, then you can take this up. :)

@RishabhJain2018 Since I created it I guess i should try lol

@MatejMecka Okay then go ahead !
@AmosHason Please feel free to take up any other issue from the list. :)

@MatejMecka any update on this?

@16116073 Since @MatejMecka has been inactive for a long time. So, you can take this up :)

@Obtin yes sure!

@Obtin @RishabhJain2018 is this fixed? Can I close it

Is this issue solved ?? I am still getiing false as the output.





I see that this issue is still there in the app. I'd like to work on this.
I went through the discussion on the pull request #1427 that attempted to solve this. Also, #1912 was closed without merging. Is this because it didn't give any useful information along with the error message? What pieces of information should be given to the user in the help message (the email they signed up with, etc.)?

Edit:
Here's the thing I found that's causing the issue to persist on the dashboard when the user first logs in. The onError callback for the request on dashboard does not set the 'emailError' key on `localStorage` which causes the `utlitites.getData` function to return `false` which is displayed instead of the appropriate error message.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.


This issue has been automatically closed as there is no further activity. Thank you for your contributions.