You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created a new private variable: bool _enabled and two methods to change (enable() and disable()), as well as one to check the status (readEnabled()).
poll() checks the status of _enable, just before validating the request. If enable is not true, the function returns without processing the request.
Tested as working.
0 commit comments