Skip to content

Commit

Permalink
SLVS-1466 Add back warning for the deprecated credentials (#5705)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriela-trutan-sonarsource committed Sep 27, 2024
1 parent 42e2a18 commit 05b8956
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ConnectedMode/UI/Credentials/CredentialsDialog.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>

<TextBlock Grid.Row="0" VerticalAlignment="Center" Margin="0, 10, 0, 0">
Expand Down Expand Up @@ -126,7 +127,10 @@

<ui:ProgressAndErrorHandlerComponent Grid.Row="3" Grid.Column="0" Margin="0,5" ProgressReporterViewModel="{Binding Path=ProgressReporterViewModel}"/>

<Grid Grid.Row="4" HorizontalAlignment="Right" Margin="0,10">
<ui:WarningMessage Grid.Row="4" Grid.Column="0" Margin="0,5" WarningText="{x:Static res:UiResources.DeprecatedAuthenticationTypeDescription}"
Visibility="{Binding Path=IsCredentialsAuthentication, Converter={StaticResource TrueToVisibleConverter}}" />

<Grid Grid.Row="5" HorizontalAlignment="Right" Margin="0,10">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
Expand Down

0 comments on commit 05b8956

Please sign in to comment.