Skip to content
This repository was archived by the owner on Apr 30, 2024. It is now read-only.

Commit a2ee0b3

Browse files
committed
Fixed token regex for non-mfa tokens
1 parent b853eef commit a2ee0b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Quarrel/SubPages/LoginPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
<TextBox x:Uid="Login/TokenTBox" x:Name="TokenTBox"
112112
PlaceholderText="Token" Margin="16"
113113
Text="{x:Bind ViewModel.TokenText, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
114-
ui:TextBoxExtensions.Regex="^(?:mfa\.[A-Za-z0-9_-]{20,})|(?:[A-Za-z0-9_-]{23,28}\.A-Z[a-z0-9_-]{6,7}\.[A-Za-z0-9_-]{27})$"
114+
ui:TextBoxExtensions.Regex="^(?:mfa\.[A-Za-z0-9_-]{20,})|(?:[A-Za-z0-9_-]{23,28}\.[A-Za-z0-9_-]{6,7}\.[A-Za-z0-9_-]{27})$"
115115
Style="{StaticResource DiscordTextBox}" VerticalAlignment="Center"/>
116116
</Grid>
117117
<Button x:Uid="Login/LoginBTN" Content="Login" HorizontalAlignment="Stretch" Foreground="{ThemeResource SystemChromeLowColor}"

0 commit comments

Comments
 (0)