anyx / LoginGateBundle

59 stars 23 forks source link

Implemented getMessageKey() method #15

Closed adeelnawaz closed 6 years ago

adeelnawaz commented 6 years ago

Fixes #14


The exception should have it's own implementation of getMessageKey() to return a string uniquely identifyable and translatable.


Changes:
Added getMessageKey() method that returns the message 'Too many authentication failures.'


HowToTest: (Tested with FOSUB)
Brute force attempt should not show the message 'An authentication exception occurred.'. Instead it should show the message 'Too many authentication failures.'

anyx commented 6 years ago

Thanks @adeelnawaz !