javascriptmeteormeteor-blazemeteor-accountsmeteor-useraccounts

Login forbidden after upgrading Meteor version 2.2 to 2.4


Meteor version: 2.4 Node version: 14.x

After upgrading Meteor version 2.2 to 2.4 I face some issues. In the project, I used useraccounts:core and connected with that some other dependencies. After the upgrade my login design changed and when I try to log in it will show me the “Login forbidden” error. I am attaching the previous login design after upgrading the design.

PREVIOUS DESIGN:

enter image description here

CURRENT DESIGN:

enter image description here

Now if I use email rather than username it will be logged in but the home screen is blank. I am sure that logged in successfully because in local storage the desired details are stored.


Solution

  • I faced the same issue for 2.2 to 2.3, So I did the below steps to solve this issue. I tried 2 ways where 1st point is wrong.

    1. Remove the packages and then update:

    meteor update --release 2.3
    

    2. Understand the issue and Fork it(Best and easy way):

    meteor update --release 2.3
    

    Using the 2nd step I can solve this issue very easily.