We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c8a35c + 5af4976 commit 696b3eaCopy full SHA for 696b3ea
Sources/JWTAuthenticatable/BasicJWTAuthenticatable.swift
@@ -52,7 +52,7 @@ public protocol BasicJWTAuthenticatable: JWTAuthenticatable where AuthBody == Ba
52
/// that is used to authenticate the
53
/// model. This is probably `username`
54
/// or `email`.
55
- static var usernameKey: KeyPath<Self, String> { get }
+ static var usernameKey: WritableKeyPath<Self, String> { get }
56
57
/// A string that is used with the
58
/// property of the `usernameKey`
0 commit comments