diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/main.rs b/src/bin/main.rs index e57ea6a..b07a524 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -28,7 +28,7 @@ fn create_user_prompt() -> Option<(String, String)> { error!("Passwords don't match"); return None } - Some((user, password)) + Some((user.trim().to_string(), password)) } fn main() { |