Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/d/j/django-otp-0.2.7/django_otp/plugins/otp_totp/models.py   django-otp(Download)
                    if (offset != 0) and OTP_TOTP_SYNC:
                        self.drift += offset
                    self.save()
 
                    verified = True

src/d/j/django-otp-0.2.7/django_otp/plugins/otp_hotp/models.py   django-otp(Download)
                    verified = True
                    self.counter = counter + 1
                    self.save()
                    break
            else:

src/d/j/django-otp-yubikey-0.2.0/otp_yubikey/models.py   django-otp-yubikey(Download)
        self.session = otp.session
        self.counter = otp.counter
        self.save()
 
        return True