mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
[WIP] Email authorization
This commit is contained in:
@@ -140,10 +140,12 @@ final class AuthorizationSequenceCodeEntryController: ViewController {
|
||||
minimalCodeLength = Int(length)
|
||||
case let .call(length):
|
||||
minimalCodeLength = Int(length)
|
||||
case .flashCall:
|
||||
break
|
||||
case let .missedCall(_, length):
|
||||
minimalCodeLength = Int(length)
|
||||
case let .email(_, length, _, _, _):
|
||||
minimalCodeLength = Int(length)
|
||||
case .flashCall, .emailSetupRequired:
|
||||
break
|
||||
}
|
||||
|
||||
if self.controllerNode.currentCode.count < minimalCodeLength {
|
||||
|
||||
Reference in New Issue
Block a user