Skip to content

Commit

Permalink
Undo GitLabOAuthUserDetails unexpected change
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Feb 10, 2023
1 parent 724f655 commit b8e5404
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
/**
*
*/

package org.jenkinsci.plugins;

import org.acegisecurity.GrantedAuthority;
import org.acegisecurity.userdetails.User;


/**
* @author Mike
*
Expand All @@ -17,7 +12,7 @@ public class GitLabOAuthUserDetails extends User {
private static final long serialVersionUID = 1709511212188366292L;

public GitLabOAuthUserDetails(org.gitlab4j.api.models.User user, GrantedAuthority[] authorities) {
super(user.getUsername(), user.getEmail(), true, true, true, true, authorities);
super(user.getUsername(), "", true, true, true, true, authorities);
}

}

0 comments on commit b8e5404

Please sign in to comment.