mirror of
https://github.com/bitwarden/server
synced 2025-12-11 05:43:35 +00:00
trim question input
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user