mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Related to #11350 and the sub-tasks for stuff that happens in setup assistant: #11477 and #11479 This adds back-end and UI logic to show an EULA during DEP enrollment if one was uploaded via the UI, if an EULA wasn't uploaded, we just proceed to enroll the device right after authentication. https://user-images.githubusercontent.com/4419992/236316655-282ee74a-5f79-4095-a950-82b77b80a5c0.mov
22 lines
475 B
TypeScript
22 lines
475 B
TypeScript
import React from "react";
|
|
import classnames from "classnames";
|
|
|
|
import DataError from "components/DataError";
|
|
|
|
const baseClass = "mdm-sso-error";
|
|
|
|
interface ISSOErrorProps {
|
|
className?: string;
|
|
}
|
|
|
|
const SSOError = ({ className }: ISSOErrorProps) => {
|
|
const classNames = classnames(baseClass, className);
|
|
|
|
return (
|
|
<DataError className={classNames}>
|
|
<p>Please contact your IT admin at +1-(415)-651-2575.</p>
|
|
</DataError>
|
|
);
|
|
};
|
|
|
|
export default SSOError;
|