Currently the system does not support admin or other users to sign up, so that the admin user is hard coded in the system.
enhance the system usablity by enabling new admins to sign up. but to keep the system secured add a new variable stored in database called 'secretKey' which will hold a secured key which should be gived to new admins to provide when signing up, so that it ensures that the signing up user is a verified admin.
- enable authenticated admins to change the 'secretKey' by a custom api.
- add a new page to enable admins to sign up with the provided flow.
Benefits
- Improves system usability and flexibility.
- Maintains security by ensuring only verified users can sign up as admins.
Currently the system does not support admin or other users to sign up, so that the admin user is hard coded in the system.
enhance the system usablity by enabling new admins to sign up. but to keep the system secured add a new variable stored in database called 'secretKey' which will hold a secured key which should be gived to new admins to provide when signing up, so that it ensures that the signing up user is a verified admin.
Benefits