Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kickster97 committed Jan 15, 2025
1 parent d3bf5c1 commit 53cd6de
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/lavinmq/auth/handlers/basic_auth.cr
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ require "../../server"

module LavinMQ
class BasicAuthHandler < LavinMQ::AuthHandler

def initialize(@users : UserStore)
end

Expand Down
1 change: 0 additions & 1 deletion src/lavinmq/auth/handlers/http.cr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ require "../auth_handler"

module LavinMQ
class HTTPAuthHandler < AuthHandler

def initialize(@users : UserStore)
end

Expand Down
1 change: 0 additions & 1 deletion src/lavinmq/auth/handlers/oauth2.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ require "../auth_handler"

module LavinMQ
class OAuth2Handler < LavinMQ::AuthHandler

def initialize(@users : UserStore)
end

Expand Down
4 changes: 2 additions & 2 deletions src/lavinmq/config.cr
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ module LavinMQ
private def parse_auth(settings)
settings.each do |config, v|
case config
when "http" then @http_auth_url = v
when "oauth" then @oauth_url = v
when "http" then @http_auth_url = v
when "oauth" then @oauth_url = v
when "auth_backends" then @auth_backends = v.split(",")
else
STDERR.puts "WARNING: Unrecognized configuration 'auth/#{config}'"
Expand Down

0 comments on commit 53cd6de

Please sign in to comment.