1. cogni
  2. django-twostepauth

Commits

Nuno Maltez  committed fdbe85a

Fixes #3. Bump version.

  • Participants
  • Parent commits 04b2dbf
  • Branches default

Comments (0)

Files changed (2)

File setup.py

View file
 from setuptools import setup, find_packages
 import sys, os
 
-version = '0.1'
+version = '0.2'
 
 def read(fname):
     # read the contents of a text file

File twostepauth/models.py

View file
             return False
         if code < 0 or code >= 1000000:
             # All time based verification codes are no longer than six digits.
-            raise False
+            return False
         # Compute verification codes and compare them with user input
         tm = int(now() / twostepauth_settings.TWOSTEPAUTH_TIME_STEP_SIZE)