anexia-it / django-rest-passwordreset

An extension of django rest framework, providing a configurable password reset strategy
BSD 3-Clause "New" or "Revised" License
419 stars 148 forks source link

Increase max_length on field user_agent to 512 chars #139

Closed mvasilchenko closed 12 months ago

mvasilchenko commented 3 years ago

Hi, I'm noticed here, how are users trying to reset their passwords from several not-standard browsers, like Instagram browser and Facebook browser. And in this case, I am catching exception value too long for type character varying(256)

This is an example Instagram browser user agent

'Mozilla/5.0 (Linux; Android 10; RMX2040 Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/91.0.4472.120 Mobile Safari/537.36 Instagram Android (29/10; 320dpi; 720x1456; realme; RMX2040; RMX2040; mt6768; ru_RU; 302733769)'
cyzanfar commented 2 years ago

have the same issue

replygirl commented 1 year ago

What's the blocker to getting this in?

nezhar commented 12 months ago

Closed by https://github.com/anexia-it/django-rest-passwordreset/pull/182