an otp is a real login

This commit is contained in:
Evan Prodromou 2010-03-08 18:06:21 -05:00
parent 5f7aa6f2e3
commit 0d66dc543d
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}