Skip to content

Commit 5c01007

Browse files
committed
Merge branch 'dependencies'
2 parents 05ddc0c + 39f26c5 commit 5c01007

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

Authenticator/Classes/OTPTokenEntryViewController.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#import "OTPSegmentedControlCell.h"
2727
#import "OTPTextFieldCell.h"
2828
#import <OneTimePassword/OneTimePassword.h>
29-
#import <Base32/MF_Base32Additions.h>
3029

3130

3231
typedef enum : NSUInteger {
@@ -123,7 +122,7 @@ - (void)createToken
123122
{
124123
if (!self.formIsValid) return;
125124

126-
NSData *secret = [NSData dataWithBase32String:self.secretKeyCell.textField.text];
125+
NSData *secret = [NSData secretWithString:self.secretKeyCell.textField.text];
127126

128127
if (secret.length) {
129128
OTPTokenType tokenType = (self.tokenTypeCell.segmentedControl.selectedSegmentIndex == OTPTokenTypeIndexTimer) ? OTPTokenTypeTimer : OTPTokenTypeCounter;

Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
platform :ios, '7.0'
22

3-
pod 'OneTimePassword', '~> 1.0'
3+
pod 'OneTimePassword', '~> 1.1'
44
pod 'SVProgressHUD', '~> 1.0'
55
pod 'UIColor+Categories', '~> 0.2'
66

Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
PODS:
22
- Base32 (1.0.2)
3-
- OneTimePassword (1.0.0):
3+
- OneTimePassword (1.1.0):
44
- Base32 (~> 1.0.2)
55
- SVProgressHUD (1.0)
66
- UIColor+Categories (0.2)
77

88
DEPENDENCIES:
9-
- OneTimePassword (~> 1.0)
9+
- OneTimePassword (~> 1.1)
1010
- SVProgressHUD (~> 1.0)
1111
- UIColor+Categories (~> 0.2)
1212

1313
SPEC CHECKSUMS:
1414
Base32: a0ef6e90e721130c474cc970a4d98a6cbf16ce85
15-
OneTimePassword: 5948ec8303247b449532fc553f7e01defc0e72e6
15+
OneTimePassword: d08289f18a0e23a238f5adcfabb3269bbf7eb1f7
1616
SVProgressHUD: 5034c6e22b8c2ca3e09402e48d41ed0340aa1c50
1717
UIColor+Categories: 9770206090196452ff5d115b3e3dbdfcdedbc2f3
1818

0 commit comments

Comments
 (0)