vapor / auth

👤 Authentication and Authorization framework for Fluent.
53 stars 34 forks source link

In Swift 4, extracting the username was including the separator #14

Closed gwynne closed 7 years ago

gwynne commented 7 years ago

The Basic auth was broken in Swift 4 because the username extracted from the header was including the : separator. Fixed by using the exclusive range operator instead of the inclusive one.

tanner0101 commented 7 years ago

Fixed in #13