It doesn't, though. That's just the PR the FSF wants you to believe. What it actually does is require you to add a feature to the app to serve or link to its source code if you modify it. If you don't want to actually give your users the source, you can just stick a reverse proxy in front that removes the source code offer. The AGPL is powerless against that.
Conversely, it means every time someone forks an AGPL project on GitHub and pushes a commit, they are in violation of the license unless they first change or add the source code offer feature and point it at their repo. The AGPL is extremely difficult to comply with for normal Free Software developers, and doesn't actually protect your rights since it can be worked around. It's a horrible license and nobody should use it. I linked a deeper analysis of it in a top-level comment.