Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
George Jahad committed Oct 11, 2024
1 parent bb90ac4 commit a5dfa94
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/lib/clients/vault/oidc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5dfa94

Please sign in to comment.