コミット
ce460c9a66
|
@ -127,7 +127,7 @@ trait AuthenticationTrait {
|
||||||
// セッションを想像する
|
// セッションを想像する
|
||||||
$login_user_datum = $this->makeSession($this->getGuard(), $get->toArray());
|
$login_user_datum = $this->makeSession($this->getGuard(), $get->toArray());
|
||||||
|
|
||||||
return ['status_code' => 200, 'params' => ['id' => $login_user_datum['id'], 'expire' => env('SESSION_LIFETIME')]];
|
return ['status_code' => 200, 'params' => ['id' => $login_user_datum['id'], 'expire' => (int)time() + ((int)env('SESSION_LIFETIME') * 60)]];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function logout () {
|
public function logout () {
|
||||||
|
|
新しいイシューから参照