ee/apps/account-service/src/lib/loginViaResume.ts
Function loginViaResume
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export async function loginViaResume(resume: string, loginExpiration: number): Promise<false | ILoginResult> {
const hashedToken = _hashLoginToken(resume);
const user = await Users.findOne<IUser>(
{