fix(frontend): no login user on first run outside demo

This commit is contained in:
leandrofars 2024-06-15 17:09:28 -03:00
parent 50d46bd0c9
commit a70b662234

View File

@ -210,7 +210,7 @@ const Page = () => {
> >
Skip authentication Skip authentication
</Button> */} </Button> */}
<Alert { window.location.host.includes("demo.oktopus") && <Alert
color="primary" color="primary"
severity="info" severity="info"
sx={{ mt: 3 }} sx={{ mt: 3 }}
@ -218,7 +218,7 @@ const Page = () => {
<div> <div>
You can use <b>demo@gmail.com</b> and password <b>demo</b> You can use <b>demo@gmail.com</b> and password <b>demo</b>
</div> </div>
</Alert> </Alert>}
</form> </form>
)} )}
{method === 'phoneNumber' && ( {method === 'phoneNumber' && (