Skip to content

Revisited `login`.

Jeremy Soller requested to merge goyox86:goyox86/login-improvements into master

Created by: goyox86

  • Added constants for standard file paths.
  • Improved error reporting when opening the files.
  • Improved error reporting when parsing the files.
  • Used Passwd::parse_file instead of doing it manually.
  • Removed all the calls to unwrap() by using try().
  • Used fail to report errors and exit when possible.

Merge request reports