Update# add throttle to validateEmail route

This commit is contained in:
Pellaeon Lin 2018-06-30 15:27:45 +08:00
parent 3434dc4dce
commit 68d1b39bb1
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ class RegisterController extends Controller {
/**
* User POST email, if email is valid and not duplicate, we send token by mail
* @PublicPage
* @AnonRateThrottle(limit=5, period=1)
*
* @param string $email
* @return TemplateResponse