Unverified Commit c4721cc5 authored by Greg Messner's avatar Greg Messner Committed by GitHub
Browse files

Removed note about logging in on 10.2 servers.

parent c1c4cf5b
...@@ -43,9 +43,6 @@ You can also login to your GitLab server with username, and password: ...@@ -43,9 +43,6 @@ You can also login to your GitLab server with username, and password:
// Log in to the GitLab server using a username and password // Log in to the GitLab server using a username and password
GitLabApi gitLabApi = GitLabApi.login("http://your.gitlab.server.com", "your-username", "your-password"); GitLabApi gitLabApi = GitLabApi.login("http://your.gitlab.server.com", "your-username", "your-password");
``` ```
**NOTE: Logging in with username and password is not available on GitLab servers 10.2 and above.**
As of GitLab4J-API 4.6.6, all API requests support performing the API call as if you were another user, provided you are authenticated as an administrator: As of GitLab4J-API 4.6.6, all API requests support performing the API call as if you were another user, provided you are authenticated as an administrator:
```java ```java
// Create a GitLabApi instance to communicate with your GitLab server (must be an administrator) // Create a GitLabApi instance to communicate with your GitLab server (must be an administrator)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment