1 import type { UserModel } from '../interfaces';
2 import { getIsSSOVPNOnlyAccount } from '../keys';
4 export const getIsRecoveryAvailable = (user: UserModel) => {
5 const isSSOUser = getIsSSOVPNOnlyAccount(user);
7 return user.isPrivate && !isSSOUser;