fix(auth): fix flash error