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

How to trigger login manager to load new user information after new registration? #20

Open
weitung opened this issue Mar 9, 2022 · 2 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@weitung
Copy link
Contributor

weitung commented Mar 9, 2022

The problem being the custom login manager won't load the new list of user data after registering new users. Also, it seems not reasonable to keep all the user data in the class objects, need to think about this portion in the future if large quantities of user data is generated. We can keep this for now since we are focusing on management console.

@weitung weitung added bug Something isn't working question Further information is requested labels Mar 9, 2022
@weitung weitung changed the title How to trigger login manager to load new user information after it is triggered? How to trigger login manager to load new user information after new registration? Mar 9, 2022
@leo880418
Copy link
Contributor

Now we use the carpark_id as the region_id. We will only pull the region_id down for login. The bug raise from the
iam/page,py
def init_login_db(self):
# self.get_carpark_id() #get location position
send_dict = {
"operation": "pull_login_data",
"area": "DDA" -> please change to your location
}
change the area will be fine

@leo880418
Copy link
Contributor

  1. I think the better way will be check with online database first. If could not, check with local storage.
  2. Pull the data on hourly basis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants