Skip to content

Commit b90a62b

Browse files
committed
Fix clippy warning
1 parent b7f2985 commit b90a62b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ pub(crate) fn domain_name() -> String {
155155
}
156156

157157
fn require_email_verification() -> bool {
158-
!dotenv::var("DISABLE_EMAIL_VERIFICATION_REQUIREMENT").is_ok()
158+
dotenv::var("DISABLE_EMAIL_VERIFICATION_REQUIREMENT").is_err()
159159
}
160160

161161
fn blocked_traffic() -> Vec<(String, Vec<String>)> {

0 commit comments

Comments
 (0)