iya-sts
    Preparing search index...

    Variable upgradeHash

    upgradeHash: (name: any, password: any, stored: any) => boolean = ...

    Type Declaration

      • (name: any, password: any, stored: any): boolean
      • Hashes a just-verified password again under the password policy and writes it back where the stored hash is another algorithm, or the same one at a strictly lower cost (#847, #872). On this thread; never throws.

        Parameters

        • name: any

          the person

        • password: any

          the password the stored hash just verified

        • stored: any

          that stored hash

        Returns boolean

        true when a new hash was written