+ {/* App-initiated actions should not see warning messages about the need to complete the action during login. */}
+ {displayMessage && message !== undefined && (message.type !== "warning" || !isAppInitiatedAction) && (
+
+ {message.type === "success" && }
+ {message.type === "warning" && }
+ {message.type === "error" && }
+ {message.type === "info" && }
+
+
+ )}
+ {formNode}
+ {auth !== undefined && auth.showTryAnotherWayLink && showAnotherWayIfPresent && (
+
+ )}
+ {displayInfo && (
+
+ )}
+