locked
how to make attempt login failed for user per no of try per period ? RRS feed

  • Question

  • User696604810 posted

    problem

    how to make attempt login failed for user per no of try per period ?

    i work on asp.net core 2.2 web api 

    i need to write function on login http post make count to failed login attempt within period of time

    failed login within period  10 minutes the if it exceed it will redirect to url xxxx .

    [HttpPost(Contracts.ApiRoutes.Login.UserLogin)]
    public IActionResult PostUserLogins([FromBody]Users user)
    {

    if (isvalid)

    {

    }

    else

    {

    }

    }

    my function structure as above ?

    Wednesday, September 4, 2019 4:31 AM

All replies