summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}