aboutsummaryrefslogtreecommitdiff
path: root/okupy/otp
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-08-08 17:41:06 +0200
committerMichał Górny <mgorny@gentoo.org>2013-08-09 22:40:19 +0200
commitc4ce80de929c209965c0d21ae09dcec7371eff3f (patch)
tree878f9167950c2854b34fe47239449fda32a9e963 /okupy/otp
parentIntroduce initial code for two-phase auth support. (diff)
downloadidentity.gentoo.org-c4ce80de929c209965c0d21ae09dcec7371eff3f.tar.gz
identity.gentoo.org-c4ce80de929c209965c0d21ae09dcec7371eff3f.tar.bz2
identity.gentoo.org-c4ce80de929c209965c0d21ae09dcec7371eff3f.zip
Introduce a dummy token input.
Diffstat (limited to 'okupy/otp')
-rw-r--r--okupy/otp/nootp/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/okupy/otp/nootp/models.py b/okupy/otp/nootp/models.py
index 0a5b0af..ad845e8 100644
--- a/okupy/otp/nootp/models.py
+++ b/okupy/otp/nootp/models.py
@@ -8,4 +8,4 @@ class NoOTPDevice(Device):
def verify_token(self, token=None):
# TODO: put some real code
- return True
+ return token == '1234'