摘要:
为保证和前端交互过程中,用户可以自动刷新token 1.创建一个中间件文件,命名为 RefreshToken <?php namespace App\Http\Middleware; use Auth; use Closure; use Tymon\JWTAuth\JWTAuth; use Tymo 阅读全文
摘要:
报错信息: string(174) "file_exists(): open_basedir restriction in effect. File(/data/xxx/xxx.index) is not within the allowed path(s): (/data/xxx/default/ 阅读全文
摘要:
vi user-password-expiration-check.sh #!/bin/sh for user in $(cat /etc/passwd |cut -d: -f1) do echo $user chage -l $user | grep "Password expires" done 阅读全文