diff options
author | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2017-06-17 15:08:42 -0400 |
---|---|---|
committer | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2017-06-17 15:16:27 -0400 |
commit | b1d3703cf2a77689755e1bfbc3ee235338457a19 (patch) | |
tree | 5f085d87c9718d2f1964c4ce43daab9b470f9e18 /src/auth/mod.rs | |
parent | 30d40fea83f4d9e06e14f260c23a31020bd39509 (diff) |
feature: Add user command.
* Finish command to create user.
* Change sqlite => rusqlite dependency.
Diffstat (limited to 'src/auth/mod.rs')
-rw-r--r-- | src/auth/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth/mod.rs b/src/auth/mod.rs index 728c246..7f995f8 100644 --- a/src/auth/mod.rs +++ b/src/auth/mod.rs @@ -4,8 +4,8 @@ use crypto::bcrypt_pbkdf::bcrypt_pbkdf; #[derive(Debug, PartialEq, Eq)] pub struct HashedPassword { - salt: String, - enc: String, + pub salt: String, + pub enc: String, } // TODO: Configurable number of iterations. |