Evalai: Wrong message coming on Signup Page.

Created on 22 Jan 2017  路  18Comments  路  Source: Cloud-CV/EvalAI

Follow these steps:

  1. login with wrong crdentials.
  2. Then move to signup page.
    then there is a message at bottom of Signup form saying "Unable to log in with provided credentials."

Need to remove or empty that msg variable.

GSOC-2019 critical easy_to_fix frontend

All 18 comments

Sure, assigning it to you @anweshknayak .

Oops I can't test it.(blank screen) I forgot. I have to search through the code.

@anweshknayak Does the error persists at client side or backened side. If it is client then can you please share the snapshot of console?

@aka-jain : We need to refresh controller on route change. Since both signup and login share same controller (AuthCtrl) and same variables (vm.isFormError, vm.FormError) that's why this is happening.

@spyshiv Or we can make that msg variable empty on clicking signup tab. Thoughts?

:+1: that's better solution since this issue is not related to ng-messages.
@anweshknayak : Do it as @aka-jain suggested. (Resetting the variables)

am emptying the auth.FormError var on ng-click SignUp in signup.html, I guess this should do the trick, but no change in signup.html is being reflected on browser. Am I missing something? @aka-jain

@yadavankit Can you put up a PR for this?

#592 @aka-jain There were some issue I guess

I have already mentioned that we have to do some changes. And I was in doudt regarding your code as some enhancement to quality needs to be done. That's why I closed that PR.

@aka-jain yeah sure 馃憤

633 @aka-jain

@yadavankit make sure if anyone has been assigned beforehand before picking up the issue. Effort goes into waste of either one.

Fixed with #636

@aka-jain error still persists.
Go to : Login .
Next Click below : SignUp
Form error shows up.

Please check the PR. #663

@anweshknayak nice catch...since am reseting the form on ng-click of SignUp Tab, just give me a sec, will apply auth.resetForm() on SignUp link.

@yadavankit there's no need. a functionality has been added in #632 which will do.

@anweshknayak cool 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vivektalwar13071999 picture vivektalwar13071999  路  3Comments

HargovindArora picture HargovindArora  路  4Comments

dhruvbatra picture dhruvbatra  路  4Comments

Jonathan-Livingston-Seagull picture Jonathan-Livingston-Seagull  路  5Comments

mrinalwahal picture mrinalwahal  路  4Comments