mirror of
https://github.com/jointakahe/takahe.git
synced 2025-01-11 06:35:26 +00:00
Fix user profile image size
This commit is contained in:
parent
4b4032be6f
commit
ef910c53b7
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class ProfilePage(FormView):
|
|||
if isinstance(image, File):
|
||||
self.request.identity.image.save(
|
||||
image.name,
|
||||
self.resize_image(image, size=(400, 400)),
|
||||
self.resize_image(image, size=(1500, 500)),
|
||||
)
|
||||
self.request.identity.save()
|
||||
return redirect(".")
|
||||
|
|
Loading…
Reference in a new issue