From a5dfa94f2ca40cefd922a2d224c8220f7c018a7f Mon Sep 17 00:00:00 2001 From: George Jahad Date: Fri, 11 Oct 2024 13:03:01 -0700 Subject: [PATCH] cleanup --- app/lib/clients/vault/oidc.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/lib/clients/vault/oidc.rb b/app/lib/clients/vault/oidc.rb index 39ec851..48eccb3 100644 --- a/app/lib/clients/vault/oidc.rb +++ b/app/lib/clients/vault/oidc.rb @@ -54,9 +54,7 @@ def configure_oidc_user(name, email, policy) end def initial_user - if Config[:initial_user].nil? - raise "initial user not configured." - end + raise "initial user not configured." unless Config[:initial_user] Config[:initial_user] end private