Remove references to isGitBasicAuth in GWT UI
Change-Id: I45c60597e636918eaecfa57bc4c9be11bf2110bf
This commit is contained in:
@@ -592,9 +592,7 @@ public class Dispatcher {
|
||||
return new MyPasswordScreen();
|
||||
}
|
||||
|
||||
if (matchExact(SETTINGS_OAUTH_TOKEN, token)
|
||||
&& Gerrit.info().auth().isOAuth()
|
||||
&& Gerrit.info().auth().isGitBasicAuth()) {
|
||||
if (matchExact(SETTINGS_OAUTH_TOKEN, token) && Gerrit.info().auth().isOAuth()) {
|
||||
return new MyOAuthTokenScreen();
|
||||
}
|
||||
|
||||
|
@@ -46,7 +46,7 @@ public abstract class SettingsScreen extends MenuScreen {
|
||||
if (Gerrit.info().auth().isHttpPasswordSettingsEnabled()) {
|
||||
linkByGerrit(Util.C.tabHttpAccess(), PageLinks.SETTINGS_HTTP_PASSWORD);
|
||||
}
|
||||
if (Gerrit.info().auth().isOAuth() && Gerrit.info().auth().isGitBasicAuth()) {
|
||||
if (Gerrit.info().auth().isOAuth()) {
|
||||
linkByGerrit(Util.C.tabOAuthToken(), PageLinks.SETTINGS_OAUTH_TOKEN);
|
||||
}
|
||||
if (Gerrit.info().gerrit().editGpgKeys()) {
|
||||
|
Reference in New Issue
Block a user