Update (#2)
Release Tagging / release (push) Successful in 49s
Rust Build / Check (push) Successful in 1m39s
Rust Build / Test Suite (push) Successful in 2m1s
Rust Build / Rustfmt (push) Successful in 1m43s
Rust Build / Clippy (push) Successful in 1m34s
Rust Build / build (push) Successful in 3m17s
Release Tagging / release (push) Successful in 49s
Rust Build / Check (push) Successful in 1m39s
Rust Build / Test Suite (push) Successful in 2m1s
Rust Build / Rustfmt (push) Successful in 1m43s
Rust Build / Clippy (push) Successful in 1m34s
Rust Build / build (push) Successful in 3m17s
Reviewed-on: phoenix/icarus_auth#2
This commit was merged in pull request #2.
This commit is contained in:
@@ -144,7 +144,7 @@ pub async fn register_user(
|
||||
/// Checks to see if registration is enabled
|
||||
async fn is_registration_enabled() -> Result<bool, std::io::Error> {
|
||||
let key = String::from("ENABLE_REGISTRATION");
|
||||
let var = icarus_envy::environment::get_env(&key).await;
|
||||
let var = icarus_envy::environment::get_env(&key);
|
||||
let parsed_value = var.value.to_uppercase();
|
||||
|
||||
if parsed_value == "TRUE" {
|
||||
|
||||
Reference in New Issue
Block a user