PalisadoesFoundation / talawa

Community Organization Management Software. Click on the link below to see our documentation.
https://docs.talawa.io/
GNU General Public License v3.0
311 stars 438 forks source link

logout button lands to Select Language page even when logout is not successful. #2416

Closed am-casper closed 6 months ago

am-casper commented 6 months ago

Describe the bug When one clicks on Logout button, it will redirect user to the Select Language screen, even when the logout was not successful due to any error occurring back of the scene.

To Reproduce Steps to reproduce the behavior:

  1. Login into an account and go to the settings option on the profile page
  2. Turn off the internet connection.
  3. Logout the account. This will navigate to the Select Language Screen.
  4. Select a language and you will get navigated to the settings screen again, despite being logged out.

Expected behavior The logout should throw an error as the logout is not successful.

Actual behavior The logout is shown as successful and we are navigated to the Select Language screen

github-actions[bot] commented 6 months ago

Congratulations on making your first Issue! :confetti_ball: If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

Huy1996 commented 6 months ago

@am-casper If you believe it needs to be fixed, please complete the issue template in detail; otherwise, this issue will be closed.

am-casper commented 6 months ago

@Huy1996 i've updated the issue and also, would like to work on it and resolve. Kindly assign me this issue.

github-actions[bot] commented 6 months ago

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.