Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register route field-type only on first login #5562

Merged

Conversation

niklasnatter
Copy link
Contributor

@niklasnatter niklasnatter commented Oct 22, 2020

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #5565
License MIT

What's in this PR?

This PR adjusts the index.js of the RouteBundle to register the route field-type one on the first login.

Why?

Because otherwise, this will throw an error if somebody logs in, logs out and logs in again without reloading the application.

Reproducing the Problem

  1. Login into the administration interface
  2. Logout
  3. Login again
  4. Try to Logout again
  5. A third Login is not possible anymore

@alexander-schranz alexander-schranz added the Bug Error or unexpected behavior of already existing functionality label Oct 22, 2020
Copy link
Member

@alexander-schranz alexander-schranz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from my view. Still would like if @danrot could have a look at it if this is the correct way to handle it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Error or unexpected behavior of already existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants