Skip to content

Commit

Permalink
fix RustLogins warning (#6106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mustafa Hastürk authored Feb 11, 2020
1 parent c2eccfc commit 4436268
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
github "mozilla-mobile/onepassword-app-extension" "68a9d932a6373ca045984fbf4fb9a25aee43284c"
github "DaveWoodCom/XCGLogger" "7.0.0"
github "Dev1an/A-Star" "3.0.0-beta-1"
github "Leanplum/Leanplum-iOS-SDK" "2.6.2"
github "SDWebImage/SDWebImage" "5.2.5"
github "Leanplum/Leanplum-iOS-SDK" "2.6.3"
github "SDWebImage/SDWebImage" "5.4.0"
github "SnapKit/SnapKit" "5.0.1"
github "SwiftyJSON/SwiftyJSON" "5.0.0"
github "adjust/ios_sdk" "v4.18.3"
github "apple/swift-protobuf" "1.7.0"
github "cezheng/Fuzi" "3.1.1"
github "getsentry/sentry-cocoa" "4.4.1"
github "getsentry/sentry-cocoa" "4.4.3"
github "google/EarlGrey" "d1a1b549a260b4e5fbbae2d202fcac67be59dc82"
github "jrendel/SwiftKeychainWrapper" "3.4.0"
github "kif-framework/KIF" "v3.7.8"
Expand Down
2 changes: 1 addition & 1 deletion Storage/Rust/RustLogins.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public extension LoginRecord {
}

var credentials: URLCredential {
return URLCredential(user: username ?? "", password: password, persistence: .forSession)
return URLCredential(user: username, password: password, persistence: .forSession)
}

var protectionSpace: URLProtectionSpace {
Expand Down

0 comments on commit 4436268

Please sign in to comment.