Browse Source

用户修改密码删除登陆缓存

master
wanghongjun 3 years ago
parent
commit
989c46ecd7
  1. 3
      app/event.php
  2. 12
      config/event.php

3
app/event.php

@ -10,6 +10,9 @@ return [
'HttpEnd' => [],
'LogLevel' => [],
'LogWrite' => [],
'app\event\UserPasswordChange' => [
'app\listener\LogoutUser',
]
],
'subscribe' => [

12
config/event.php

@ -1,12 +0,0 @@
<?php
// 事件监听
return [
// ...
'listen' => [
// ...
'app\event\UserPasswordChange' => [
'app\listener\LogoutUser',
],
],
];
Loading…
Cancel
Save