diff options
| author | benj <benj@rse8.com> | 2022-12-21 16:23:12 -0800 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2022-12-21 16:23:12 -0800 |
| commit | de6339da72af1d61ca5908b780977e2b037ce014 (patch) | |
| tree | 96add0e538cef4b6b5912492c28a3d5e9ed25cbe /crates/iam/src/main.rs | |
| parent | a734a77520a3f9f0061e44c4fac6c42801730496 (diff) | |
| download | secdiam-de6339da72af1d61ca5908b780977e2b037ce014.tar secdiam-de6339da72af1d61ca5908b780977e2b037ce014.tar.gz secdiam-de6339da72af1d61ca5908b780977e2b037ce014.tar.bz2 secdiam-de6339da72af1d61ca5908b780977e2b037ce014.tar.lz secdiam-de6339da72af1d61ca5908b780977e2b037ce014.tar.xz secdiam-de6339da72af1d61ca5908b780977e2b037ce014.tar.zst secdiam-de6339da72af1d61ca5908b780977e2b037ce014.zip | |
some cleanup
Diffstat (limited to 'crates/iam/src/main.rs')
| -rw-r--r-- | crates/iam/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/iam/src/main.rs b/crates/iam/src/main.rs index 90a14af..4f6316a 100644 --- a/crates/iam/src/main.rs +++ b/crates/iam/src/main.rs @@ -163,7 +163,7 @@ async fn create(secd: &Secd, cmd: CreateObject) -> Result<Option<String>> { } CreateObject::Validation { method, identity } => match method { ValidationMethod::Email { address } => serde_json::to_string(&Validation { - validation_id: secd.create_validation_request_email(Some(&address)).await?, + validation_id: secd.create_validation_request_email(&address).await?, note: Some("<secret code> sent to client".into()), oauth_auth_url: None, }) |
