forked from GNUsocial/gnu-social
an otp is a real login
This commit is contained in:
parent
5f7aa6f2e3
commit
0d66dc543d
@ -126,6 +126,8 @@ class OtpAction extends Action
|
|||||||
$this->lt->delete();
|
$this->lt->delete();
|
||||||
$this->lt = null;
|
$this->lt = null;
|
||||||
|
|
||||||
|
common_real_login(true);
|
||||||
|
|
||||||
if ($this->rememberme) {
|
if ($this->rememberme) {
|
||||||
common_rememberme($this->user);
|
common_rememberme($this->user);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user