mirror of
https://github.com/actix/examples
synced 2024-11-23 14:31:07 +01:00
update warning
This commit is contained in:
parent
1e0cedade0
commit
8461da57fb
@ -8,7 +8,7 @@ pub static SECRET_KEY: Lazy<String> =
|
||||
|
||||
const SALT: &[u8] = b"supersecuresalt";
|
||||
|
||||
// WARNING THIS IS ONLY FOR DEMO PLEASE DO MORE RESEARCH FOR PRODUCTION USE
|
||||
// PLEASE NOTE THIS IS ONLY FOR DEMO PLEASE DO MORE RESEARCH FOR PRODUCTION USE
|
||||
pub fn hash_password(password: &str) -> Result<String, ServiceError> {
|
||||
let config = Config {
|
||||
secret: SECRET_KEY.as_bytes(),
|
||||
|
Loading…
Reference in New Issue
Block a user