GreaterWMS / GreaterWMS

This Inventory management system is the currently Ford Asia Pacific after-sales logistics warehousing supply chain process . After I leave Ford , I start this project . You can share your vacant warehouse space, use it for those in need, and generate income
https://www.56yhz.com/
Apache License 2.0
3.71k stars 949 forks source link

[BUG] Admin registration open for all #294

Closed NafQan closed 11 months ago

NafQan commented 11 months ago

Describe the bug

I just cloned and started GreaterWMS, it seems that the admin registration is open for anyone who can access the server. Steps to Reproduce

Steps to reproduce the behavior:

Expected behavior

Admin registeration should not be open for all

Deployment Method

Version Information

Singosgu commented 11 months ago

one admin , is one database , each admin cannot see anyother admin's data

NafQan commented 11 months ago

Sorry, but on my deployment more than one admin accounts were created. Is there a way to remove the link for admin registrations from the quasar template, or should one change sth in the views to stop this behavior? I guess a setting variable to stop users registrations might be a solution.

Singosgu commented 11 months ago

v-show hide register function , and django init a user of admin as our lan windows version