mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 08:42:12 +10:00
Allow organisations to manage an SSO OIDC compliant portal. This method is intended to streamline the onboarding process and paves the way to allow organisations to manage their members in a more strict way.
21 lines
611 B
TypeScript
21 lines
611 B
TypeScript
import { env } from '../utils/env';
|
|
|
|
export const FROM_ADDRESS = env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@documenso.com';
|
|
export const FROM_NAME = env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso';
|
|
|
|
export const DOCUMENSO_INTERNAL_EMAIL = {
|
|
name: FROM_NAME,
|
|
address: FROM_ADDRESS,
|
|
};
|
|
|
|
export const SERVICE_USER_EMAIL = 'serviceaccount@documenso.com';
|
|
|
|
export const EMAIL_VERIFICATION_STATE = {
|
|
NOT_FOUND: 'NOT_FOUND',
|
|
VERIFIED: 'VERIFIED',
|
|
EXPIRED: 'EXPIRED',
|
|
ALREADY_VERIFIED: 'ALREADY_VERIFIED',
|
|
} as const;
|
|
|
|
export const USER_SIGNUP_VERIFICATION_TOKEN_IDENTIFIER = 'confirmation-email';
|