Hacker News new | ask | show | jobs
by Wang0618 1920 days ago
You can place a password validation input at the beginning of the code and return directly if the validation does not pass. PyWebIO ensures that only users who have passed the validation can continue with the rest of the code.