Skip to content

fix: disable auto-create if external auth requirements aren't met #12538

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

Merged
merged 15 commits into from
Mar 19, 2024
Prev Previous commit
Next Next commit
re
  • Loading branch information
aslilac committed Mar 12, 2024
commit 27281e01b6623af6f8525e3da0243ecb6d1cebd0
2 changes: 1 addition & 1 deletion site/src/pages/CreateWorkspacePage/CreateWorkspacePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const CreateWorkspacePage: FC = () => {
(!autofillEnabled || userParametersQuery.isSuccess) &&
hasAllRequiredExternalAuth;

// `mode=auto` was set, but a prequisite has failed, and so auto-mode should be abandoned.
// `mode=auto` was set, but a prerequisite has failed, and so auto-mode should be abandoned.
if (
mode === "auto" &&
!isLoadingExternalAuth &&
Expand Down