|
85 | 85 | <StackPanel x:Name="dotComloginControlsPanel">
|
86 | 86 |
|
87 | 87 | <StackPanel Style="{StaticResource FormFieldStackPanel}">
|
88 |
| - <ghfvs:PromptTextBox |
89 |
| - x:Name="dotComUserNameOrEmail" |
90 |
| - PromptText="{x:Static ghfvs:Resources.UserNameOrEmailPromptText}" |
91 |
| - Margin="0,0,0,10" AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.DotcomUsernameEmailTextBox}" /> |
92 |
| - |
93 |
| - <ghfvs:SecurePasswordBox x:Name="dotComPassword" PromptText="{x:Static ghfvs:Resources.PasswordPrompt}" AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.DotcomPasswordTextBox}"/> |
94 |
| - |
95 |
| - <Border Style="{StaticResource LoginButtonBorder}" Margin="0 16 0 0"> |
96 |
| - <Button |
97 |
| - x:Name="dotComLogInButton" |
98 |
| - Content="{x:Static ghfvs:Resources.LoginLink}" |
99 |
| - IsDefault="True" |
100 |
| - Command="" |
101 |
| - AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.DotcomSignInButton}" /> |
102 |
| - </Border> |
103 |
| - |
104 |
| - <Grid Margin="0 8"> |
105 |
| - <Grid.ColumnDefinitions> |
106 |
| - <ColumnDefinition Width="*"/> |
107 |
| - <ColumnDefinition Width="Auto"/> |
108 |
| - <ColumnDefinition Width="*"/> |
109 |
| - </Grid.ColumnDefinitions> |
110 |
| - <Rectangle Grid.Column="0" Fill="#FFDDDDDD" Height="1"/> |
111 |
| - <TextBlock Grid.Column="1" Margin="8,0,8,4">or</TextBlock> |
112 |
| - <Rectangle Grid.Column="2" Fill="#FFDDDDDD" Height="1"/> |
113 |
| - </Grid> |
| 88 | + <!-- |
| 89 | + Signing with with username/password is going away, see: |
| 90 | + https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/ |
| 91 | + Setting Visibility="Collapsed" |
| 92 | + --> |
| 93 | + <StackPanel Name="dotComUsernamePasswordPanel" Visibility="Collapsed"> |
| 94 | + <ghfvs:PromptTextBox |
| 95 | + x:Name="dotComUserNameOrEmail" |
| 96 | + PromptText="{x:Static ghfvs:Resources.UserNameOrEmailPromptText}" |
| 97 | + Margin="0,0,0,10" AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.DotcomUsernameEmailTextBox}" /> |
| 98 | + |
| 99 | + <ghfvs:SecurePasswordBox x:Name="dotComPassword" PromptText="{x:Static ghfvs:Resources.PasswordPrompt}" AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.DotcomPasswordTextBox}"/> |
| 100 | + |
| 101 | + <Border Style="{StaticResource LoginButtonBorder}" Margin="0 16 0 0"> |
| 102 | + <Button |
| 103 | + x:Name="dotComLogInButton" |
| 104 | + Content="{x:Static ghfvs:Resources.LoginLink}" |
| 105 | + IsDefault="True" |
| 106 | + Command="" |
| 107 | + AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.DotcomSignInButton}" /> |
| 108 | + </Border> |
| 109 | + |
| 110 | + <Grid Margin="0 8"> |
| 111 | + <Grid.ColumnDefinitions> |
| 112 | + <ColumnDefinition Width="*"/> |
| 113 | + <ColumnDefinition Width="Auto"/> |
| 114 | + <ColumnDefinition Width="*"/> |
| 115 | + </Grid.ColumnDefinitions> |
| 116 | + <Rectangle Grid.Column="0" Fill="#FFDDDDDD" Height="1"/> |
| 117 | + <TextBlock Grid.Column="1" Margin="8,0,8,4">or</TextBlock> |
| 118 | + <Rectangle Grid.Column="2" Fill="#FFDDDDDD" Height="1"/> |
| 119 | + </Grid> |
| 120 | + </StackPanel> |
114 | 121 |
|
115 | 122 | <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
116 | 123 | <ghfvs:GitHubActionLink x:Name="dotComSsaLogInButton" Content="{x:Static ghfvs:Resources.SignInWithYourBrowser}"/>
|
|
0 commit comments