- fix: warnings about unused variables
- add: LOG_LEVEL env variable
This commit is contained in:
@@ -77,31 +77,31 @@ impl DatabaseClientTrait for DatabaseClient {
|
||||
|
||||
async fn store_password_reset(
|
||||
&mut self,
|
||||
email: &str,
|
||||
reset_token: &str,
|
||||
expires_at: DateTime<Utc>,
|
||||
_email: &str,
|
||||
_reset_token: &str,
|
||||
_expires_at: DateTime<Utc>,
|
||||
) -> Result<(), Box<dyn Error>> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
async fn get_password_reset(
|
||||
&self,
|
||||
reset_token: &str,
|
||||
_reset_token: &str,
|
||||
) -> Result<Option<PasswordReset>, Box<dyn std::error::Error>> {
|
||||
todo!()
|
||||
}
|
||||
|
||||
async fn delete_password_reset(
|
||||
&self,
|
||||
reset_token: &str,
|
||||
_reset_token: &str,
|
||||
) -> Result<(), Box<dyn std::error::Error>> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
async fn update_user_password(
|
||||
&self,
|
||||
email: &str,
|
||||
hashed_password: &str,
|
||||
_email: &str,
|
||||
_hashed_password: &str,
|
||||
) -> Result<(), Box<dyn std::error::Error>> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user