Increase length of OAuthGrant.redirect_uri

This commit is contained in:
Raphael Michel
2019-10-28 16:41:35 +01:00
parent ee5ce900d2
commit 645b9696b7
2 changed files with 19 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ class OAuthGrant(AbstractGrant):
OAuthApplication, on_delete=models.CASCADE
)
organizers = models.ManyToManyField('pretixbase.Organizer')
redirect_uri = models.CharField(max_length=2500) # Only 255 in AbstractGrant, which caused problems
class OAuthAccessToken(AbstractAccessToken):