Added automatic login using auth tokens IO-403
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
</Window.DataContext>
|
||||
<Window.Resources>
|
||||
<util:NullVisibilityConverter x:Key="NullVisibilityConverter" />
|
||||
|
||||
<util:InvertBoolConverter x:Key="InvertBoolConverter" />
|
||||
<Style TargetType="StackPanel">
|
||||
<Setter Property="Margin"
|
||||
Value="8" />
|
||||
@@ -74,6 +74,7 @@
|
||||
<PasswordBox materialDesign:HintAssist.Hint="{x:Static p:Resources.Password}"
|
||||
KeyDown="PasswordBox_KeyDown"
|
||||
PasswordChanged="PasswordBox_PasswordChanged"
|
||||
IsEnabled="{Binding Loading, Converter={StaticResource InvertBoolConverter}}"
|
||||
Width="300" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -67,10 +67,5 @@ namespace BodyshopPartner.Views
|
||||
{
|
||||
Application.Current.Shutdown(0);
|
||||
}
|
||||
|
||||
private void Button_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Utils.Auth.AuthTest();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user