Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 428 for incorect (0.1 sec)

  1. docs_src/security/tutorial003_py310.py

        if not user_dict:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        user = UserInDB(**user_dict)
        hashed_password = fake_hash_password(form_data.password)
        if not hashed_password == user.hashed_password:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
    
        return {"access_token": user.username, "token_type": "bearer"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. docs_src/security/tutorial003.py

        if not user_dict:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        user = UserInDB(**user_dict)
        hashed_password = fake_hash_password(form_data.password)
        if not hashed_password == user.hashed_password:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
    
        return {"access_token": user.username, "token_type": "bearer"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            assertTrue(a.getScope().equals("test"), "Incorrect scope for " + a.getDependencyConflictId());
    
            // transitive dep, overridden b depMgmt
            assertTrue(b.getScope().equals("runtime"), "Incorrect scope for " + b.getDependencyConflictId());
    
            // direct dep, overrides depMgmt
            assertTrue(c.getScope().equals("runtime"), "Incorrect scope for " + c.getDependencyConflictId());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtStatus.java

            "The data was too large to fit into the specified buffer.", "A device attached to the system is not functioning.", "Incorrect function.",
            "The parameter is incorrect.", "Invalid access to memory location.", "The handle is invalid.", "The parameter is incorrect.",
            "The system cannot find the file specified.", "The system cannot find the file specified.", "End of file", "More data is available.",
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 10:09:29 UTC 2019
    - 11.9K bytes
    - Viewed (0)
  5. tests/go.mod

    	github.com/kr/text v0.2.0 // indirect
    	github.com/mattn/go-sqlite3 v1.14.23 // indirect
    	github.com/microsoft/go-mssqldb v1.7.2 // indirect
    	github.com/pmezard/go-difflib v1.0.0 // indirect
    	github.com/rogpeppe/go-internal v1.12.0 // indirect
    	golang.org/x/crypto v0.27.0 // indirect
    	golang.org/x/text v0.18.0 // indirect
    	gopkg.in/yaml.v3 v3.0.1 // indirect
    )
    
    replace gorm.io/gorm => ../
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Sep 18 12:03:35 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. doc/next/3-tools.md

    incorrect call sequence for `f(0)`. New in this release is a better detector for
    this error condition when the incompatible declarations appear in different
    files. See [#67699](/issue/67699).
    
    ### Vet
    
    The new `tests` analyzer reports common mistakes in declarations of
    tests, fuzzers, benchmarks, and examples in test packages, such as
    malformed names, incorrect signatures, or examples that document
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 09 19:57:59 UTC 2024
    - 856 bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtStatus.java

            "The operation completed successfully.",
            "A device attached to the system is not functioning.",
            "Incorrect function.",
            "The parameter is incorrect.",
            "Invalid access to memory location.",
            "The handle is invalid.",
            "The parameter is incorrect.",
            "The system cannot find the file specified.",
            "The system cannot find the file specified.",
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.1K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_security/test_tutorial003_an_py310.py

    
    @needs_py310
    def test_login_incorrect_password(client: TestClient):
        response = client.post(
            "/token", data={"username": "johndoe", "password": "incorrect"}
        )
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    @needs_py310
    def test_login_incorrect_username(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial003_py310.py

    
    @needs_py310
    def test_login_incorrect_password(client: TestClient):
        response = client.post(
            "/token", data={"username": "johndoe", "password": "incorrect"}
        )
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    @needs_py310
    def test_login_incorrect_username(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. docs/debugging/inspect/go.mod

    )
    
    require (
    	github.com/cespare/xxhash/v2 v2.3.0 // indirect
    	github.com/fatih/color v1.17.0 // indirect
    	github.com/mattn/go-colorable v0.1.13 // indirect
    	github.com/mattn/go-isatty v0.0.20 // indirect
    	github.com/minio/pkg/v3 v3.0.1 // indirect
    	github.com/philhofer/fwd v1.1.2 // indirect
    	golang.org/x/crypto v0.23.0 // indirect
    	golang.org/x/sys v0.20.0 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 09:27:44 UTC 2024
    - 668 bytes
    - Viewed (0)
Back to top