summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-03-08 18:06:21 -0500
committerEvan Prodromou <evan@status.net>2010-03-08 18:06:21 -0500
commit0d66dc543d368092de08b49857c67248210d8d84 (patch)
treec82749555dfe1406e80a2614b52ea474080d4dbe
parent5f7aa6f2e3c82b9598e3405885eb455bed9b0edc (diff)
an otp is a real login
-rw-r--r--actions/otp.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/otp.php b/actions/otp.php
index acf84aee8..1e06603d4 100644
--- a/actions/otp.php
+++ b/actions/otp.php
@@ -126,6 +126,8 @@ class OtpAction extends Action
$this->lt->delete();
$this->lt = null;
+ common_real_login(true);
+
if ($this->rememberme) {
common_rememberme($this->user);
}