mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-04 00:20:45 +00:00
fix(oidc): rate-limit identity for username
This commit is contained in:
@@ -46,7 +46,7 @@ module.exports = {
|
||||
}
|
||||
|
||||
const svc_edgeRateLimit = req.services.get('edge-rate-limit');
|
||||
if ( ! svc_edgeRateLimit.check('change-email-start') ) {
|
||||
if ( ! svc_edgeRateLimit.check('change-username-start') ) {
|
||||
return res.status(429).send('Too many requests.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user