diff --git a/AuthBot/Dialogs/AzureAuthDialog.cs b/AuthBot/Dialogs/AzureAuthDialog.cs index 9b6b331..f56b7b6 100644 --- a/AuthBot/Dialogs/AzureAuthDialog.cs +++ b/AuthBot/Dialogs/AzureAuthDialog.cs @@ -55,7 +55,7 @@ public virtual async Task MessageReceivedAsync(IDialogContext context, IAwaitabl context.UserData.TryGetValue(ContextConstants.MagicNumberValidated, out validated); if (validated == "true") { - context.Done($"Thanks {authResult.UserName}. You are now logged in. "); + context.Done($"Thanks {authResult.UserName}. You are now logged in."); } else if (context.UserData.TryGetValue(ContextConstants.MagicNumberKey, out magicNumber)) { @@ -71,14 +71,14 @@ public virtual async Task MessageReceivedAsync(IDialogContext context, IAwaitabl if (msg.Text.Length >= 6 && magicNumber.ToString() == msg.Text.Substring(0, 6)) { context.UserData.SetValue(ContextConstants.MagicNumberValidated, "true"); - context.Done($"Thanks {authResult.UserName}. You are now logged in. "); + context.Done($"Thanks {authResult.UserName}. You are now logged in."); } else { context.UserData.RemoveValue(ContextConstants.AuthResultKey); context.UserData.SetValue(ContextConstants.MagicNumberValidated, "false"); context.UserData.RemoveValue(ContextConstants.MagicNumberKey); - await context.PostAsync($"I'm sorry but I couldn't validate your number. Please try authenticating once again. "); + await context.PostAsync($"I'm sorry but I couldn't validate your number. Please try authenticating once again."); context.Wait(this.MessageReceivedAsync); }