how to avoid authentication state changes in inplementing register method in authprovider?
i am developing a user management application. i want to enable admin users to add general users, but when adding general users with authProvider.register(), the login user of the application becomes the newly added user. Is there a way to avoid this and remain as the admin user?
