dromerosm's picture
feat: Add authentication, charting, and dark mode
21ac82a
raw
history blame contribute delete
280 Bytes
'use server';
export async function verifyPassword(password: string): Promise<boolean> {
const expectedPassword = process.env.NEXT_PUBLIC_SYNC_PASSWORD;
// Basic check. In production, use hash comparison.
return !!expectedPassword && password === expectedPassword;
}