diff --git a/src/admin/Bootstrap.Admin/Controllers/AccountController.cs b/src/admin/Bootstrap.Admin/Controllers/AccountController.cs
index 197e5fc7..479ed989 100644
--- a/src/admin/Bootstrap.Admin/Controllers/AccountController.cs
+++ b/src/admin/Bootstrap.Admin/Controllers/AccountController.cs
@@ -21,7 +21,6 @@ namespace Bootstrap.Admin.Controllers
/// Account controller.
///
[AllowAnonymous]
- [AutoValidateAntiforgeryToken]
public class AccountController : Controller
{
private const string MobileSchema = "Mobile";
@@ -125,6 +124,7 @@ namespace Bootstrap.Admin.Controllers
/// Password.
/// Remember.
[HttpPost]
+ [IgnoreAntiforgeryToken]
public async Task Login(string userName, string password, string remember)
{
var auth = UserHelper.Authenticate(userName, password);
diff --git a/src/admin/Bootstrap.Admin/appsettings.json b/src/admin/Bootstrap.Admin/appsettings.json
index ca1faca0..7e8836b4 100644
--- a/src/admin/Bootstrap.Admin/appsettings.json
+++ b/src/admin/Bootstrap.Admin/appsettings.json
@@ -15,7 +15,7 @@
"ConnectionStrings": {
"ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"
},
- "SupportQQBrowser": false,
+ "SupportQQBrowser": true,
"DB": [
{
"Enabled": false,