Open segeeslice opened 3 years ago
Seems that building the app somehow disables the use of cookies, causing queries after login to be denied:
[17/Mar/2021 14:52:49] "POST /user/login HTTP/1.1" 200 175 Internal Server Error: /user/is-linked Traceback (most recent call last): File "C:\Python39\lib\site-packages\django\core\handlers\exception.py", line 47, in inner response = get_response(request) File "C:\Python39\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "E:\Coding\senior-project\Django\Meetify\views.py", line 140, in user_is_linked user_info = User_Info.objects.get(pk=request.user.pk) File "C:\Python39\lib\site-packages\django\db\models\manager.py", line 85, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "C:\Python39\lib\site-packages\django\db\models\query.py", line 429, in get raise self.model.DoesNotExist( Meetify.models.User_Info.DoesNotExist: User_Info matching query does not exist. [17/Mar/2021 14:52:50] "GET /user/is-linked HTTP/1.1" 500 72391
This may be an issue with the electron-builder package and/or our configuration of it
electron-builder
Seems that building the app somehow disables the use of cookies, causing queries after login to be denied:
This may be an issue with the
electron-builder
package and/or our configuration of it