Skip to content

Commit

Permalink
fix: automatically set saml_enabled (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt authored Oct 9, 2024
1 parent cca104b commit 63aef7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/backend/src/api/v1/auth/saml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ route.post("/download-idp-xml", aggressiveRatelimit, async (ctx: Context) => {
update
org
set
saml_idp_xml = ${xml}
saml_idp_xml = ${xml},
saml_enabled = true
where
id = ${orgId}
`;
Expand Down

0 comments on commit 63aef7e

Please sign in to comment.