1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00

trim question input

This commit is contained in:
Kyle Spearrin 2018-03-30 09:25:54 -04:00
parent 267aa020c6
commit b048dbcb6b

View File

@ -377,7 +377,7 @@ namespace Bit.Setup
private static bool ReadQuestion(string prompt)
{
var input = ReadInput(prompt).ToLowerInvariant();
var input = ReadInput(prompt).ToLowerInvariant().Trim();
return input == "y" || input == "yes";
}
}