refactor(admin): improve login check middleware

- Rename $ignoreAuth to $ignoreLogin for better clarity
- Update comments for better code readability
- Modify Login controller to use $ignoreLogin instead of $ignoreAuth
This commit is contained in:
wolfcode
2025-01-14 10:09:58 +08:00
parent f9f25b76dd
commit 1e4486989a
2 changed files with 7 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ use think\Response;
class Login extends AdminController
{
protected bool $ignoreAuth = true;
protected bool $ignoreLogin = true;
public function initialize(): void
{