@@ -14,9 +14,14 @@ import { request } from '@/routes/password';
|
||||
type Props = {
|
||||
status?: string;
|
||||
canResetPassword: boolean;
|
||||
canRegister: boolean;
|
||||
};
|
||||
|
||||
export default function Login({ status, canResetPassword }: Props) {
|
||||
export default function Login({
|
||||
status,
|
||||
canResetPassword,
|
||||
canRegister,
|
||||
}: Props) {
|
||||
return (
|
||||
<>
|
||||
<Head title="Log in" />
|
||||
@@ -92,7 +97,16 @@ export default function Login({ status, canResetPassword }: Props) {
|
||||
</div>
|
||||
|
||||
<p className="text-center text-sm text-muted-foreground">
|
||||
Contact your administrator to request access.
|
||||
{canRegister ? (
|
||||
<>
|
||||
Belum memiliki tenant?{' '}
|
||||
<TextLink href="/register">
|
||||
Daftar RADIQ NDM
|
||||
</TextLink>
|
||||
</>
|
||||
) : (
|
||||
'Hubungi administrator untuk meminta akses.'
|
||||
)}
|
||||
</p>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user