Skip to content

In-depth lesson · Access control

Reports behind this point

The acceptance function is guarded by a modifier that checks the caller against the current admin rather than the pending admin, so the intended second step can never be performed by the incoming admin.