Changed imports
This commit is contained in:
@@ -6,7 +6,7 @@ use actix_web::web::{Data, Json};
|
|||||||
use actix_web::{HttpRequest, HttpResponse, Responder, post};
|
use actix_web::{HttpRequest, HttpResponse, Responder, post};
|
||||||
use argon2::Argon2;
|
use argon2::Argon2;
|
||||||
use argon2::password_hash::{
|
use argon2::password_hash::{
|
||||||
PasswordHash, PasswordHasher, PasswordVerifier, SaltString, rand_core::OsRng,
|
PasswordHash, PasswordHasher, PasswordVerifier, SaltString, rand_core::OsRng
|
||||||
};
|
};
|
||||||
use jsonwebtoken::{
|
use jsonwebtoken::{
|
||||||
Algorithm, DecodingKey, EncodingKey, Header, Validation, decode, encode, get_current_timestamp,
|
Algorithm, DecodingKey, EncodingKey, Header, Validation, decode, encode, get_current_timestamp,
|
||||||
|
|||||||
Reference in New Issue
Block a user