Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(saas/login): redirect with size=big #494

Merged
merged 1 commit into from
Jun 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/saas/bkuser_shell/account/handlers/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ def _build_page_401_response_to_platform(self, request):
return HttpResponseRedirect(_login_url)

def _build_extra_args(self):
extra_args = None
extra_args = {"size": "big"}
if self._conf.ADD_APP_CODE:
extra_args = {self._conf.APP_KEY: getattr(self._settings, self._conf.SETTINGS_APP_KEY)}
extra_args.update({self._conf.APP_KEY: getattr(self._settings, self._conf.SETTINGS_APP_KEY)})
return extra_args

def build_bk_jwt_401_response(self, request):
Expand Down