Merge branch 'develop' of github.com:mssun/passforios into develop

This commit is contained in:
Bob Sun 2017-03-27 21:36:46 -07:00
commit fe4ea4e79c
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -178,6 +178,8 @@ class Password {
*/
private func updateOtpToken() {
self.otpToken = nil
// get otpauth, if we are able to generate a token, return
if var otpauthString = getAdditionValue(withKey: "otpauth") {
if !otpauthString.hasPrefix("otpauth:") {