Merged in feat/sw-3192-no-user (pull request #2680)

feat(SW-3192): Checks if user exists, otherwise logout and show error

* feat(SW-3192): Checks if user exists, otherwise logout and show error
This commit is contained in:
Linus Flood
2025-08-22 09:47:54 +00:00
parent caffa1821f
commit e2544f9f89
10 changed files with 238 additions and 0 deletions
@@ -0,0 +1,28 @@
"use client"
import { useIntl } from "react-intl"
import styles from "./UserNotFound.module.css"
export function UserNotFound() {
const intl = useIntl()
return (
<div className={styles.container}>
<div className={styles.content}>
<h1 className={styles.header}>
{intl.formatMessage({
defaultMessage: "User not found",
})}
</h1>
<div className={styles.pitch}>
<p className={styles.text}>
{intl.formatMessage({
defaultMessage: "Please try again or contact customer service!",
})}
</p>
</div>
</div>
</div>
)
}