diff --git a/src/apps/create-patron-user-info/CreatePatron.entry.tsx b/src/apps/create-patron-user-info/CreatePatron.entry.tsx index bccc2d157d..ba2d1ca652 100644 --- a/src/apps/create-patron-user-info/CreatePatron.entry.tsx +++ b/src/apps/create-patron-user-info/CreatePatron.entry.tsx @@ -47,10 +47,21 @@ export interface CreatePatronProps extends CreatePatronConfigProps, CreatePatronUrlProps, CreatePatronTextProps { - userToken: string; + userToken?: string; } const CreatePatronEntry: FC = ({ userToken }) => { + if (!userToken) { + return ( + <> +

Please Log ind..

+

+ When the flash message/info bar has been implemented, we will use it + here to tell the user to log in. +

+ + ); + } return ; };