fix(#I12T0Y): 更新配置文件默认支持QQ兼容模式
#Comment comment #I12T0Y #Issue link https://gitee.com/LongbowEnterprise/dashboard/issues?id=I12T0Y
This commit is contained in:
parent
8ed9a8c15e
commit
cca7da1472
|
@ -21,7 +21,6 @@ namespace Bootstrap.Admin.Controllers
|
|||
/// Account controller.
|
||||
/// </summary>
|
||||
[AllowAnonymous]
|
||||
[AutoValidateAntiforgeryToken]
|
||||
public class AccountController : Controller
|
||||
{
|
||||
private const string MobileSchema = "Mobile";
|
||||
|
@ -125,6 +124,7 @@ namespace Bootstrap.Admin.Controllers
|
|||
/// <param name="password">Password.</param>
|
||||
/// <param name="remember">Remember.</param>
|
||||
[HttpPost]
|
||||
[IgnoreAntiforgeryToken]
|
||||
public async Task<IActionResult> Login(string userName, string password, string remember)
|
||||
{
|
||||
var auth = UserHelper.Authenticate(userName, password);
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"ConnectionStrings": {
|
||||
"ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"
|
||||
},
|
||||
"SupportQQBrowser": false,
|
||||
"SupportQQBrowser": true,
|
||||
"DB": [
|
||||
{
|
||||
"Enabled": false,
|
||||
|
|
Loading…
Reference in New Issue