Skip to content

Commit

Permalink
Merge pull request #3 from skelpo/develop
Browse files Browse the repository at this point in the history
Fixed typo when fetching password from request body
  • Loading branch information
calebkleveter authored Apr 25, 2018
2 parents 69c1e7e + bd5fba6 commit be72694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/JWTAuthenticatable/BasicJWTAuthenticatable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ extension BasicJWTAuthenticatable {
// 2. It's easier to work with.
// 3. We don't have to spin up another thread to
// do the decoding, so it will probably be faster.
guard let username: String = try request.content.syncGet(at: usernameKey), let password: String = try request.content.syncGet(at: "passowrd") else {
guard let username: String = try request.content.syncGet(at: usernameKey), let password: String = try request.content.syncGet(at: "password") else {
return nil
}

Expand Down

0 comments on commit be72694

Please sign in to comment.