michaelbanfield / devise-pwned_password

Devise extension that checks user passwords against the PwnedPasswords dataset
https://rubygems.org/gems/devise-pwned_password
MIT License
156 stars 29 forks source link

custom user agent #39

Open runephilosof-abtion opened 3 years ago

runephilosof-abtion commented 3 years ago

The pwned api documentation wants a more specific user agent.

Each request to the API must be accompanied by a user agent request header. Typically this should be the name of the app consuming the service. The user agent should accurately describe the nature of the API consumer such that it can be clearly identified in the request. Not doing so may result in the request being blocked.

Please allow configuring the user agent.