Browse Source

latest code update

pull/1/head
Dibya Malla 4 years ago
parent
commit
04236c0020
  1. 2
      GME Remit/Modules/Login/User Interface/View/LoginViewController.swift
  2. 3
      GME Remit/Utilities/AppConstants.swift

2
GME Remit/Modules/Login/User Interface/View/LoginViewController.swift

@ -137,7 +137,7 @@ class LoginViewController: UIViewController {
userNameTextField.errorMessage = "userid_error_text".localized() userNameTextField.errorMessage = "userid_error_text".localized()
userNameTextField.addTarget(self, action: #selector(editingChanged(_:)), for: .editingChanged) userNameTextField.addTarget(self, action: #selector(editingChanged(_:)), for: .editingChanged)
passwordTextField.validCondition = { $0.count > 2 }
passwordTextField.validCondition = { $0.count > 4 }
passwordTextField.isSecureTextEntry = true passwordTextField.isSecureTextEntry = true
passwordTextField.errorMessage = "password_policy_error".localized() passwordTextField.errorMessage = "password_policy_error".localized()
passwordTextField.addTarget(self, action: #selector(editingChanged(_:)), for: .editingChanged) passwordTextField.addTarget(self, action: #selector(editingChanged(_:)), for: .editingChanged)

3
GME Remit/Utilities/AppConstants.swift

@ -203,11 +203,12 @@ class Utility {
static func isVerifiedUser() -> Bool { static func isVerifiedUser() -> Bool {
return database.user.bool(.verified) return database.user.bool(.verified)
return true
} }
static func didSubmitKyc() -> Bool { static func didSubmitKyc() -> Bool {
return database.user.bool(.kyc) return database.user.bool(.kyc)
// return false
return true
} }
static func hasUpdatedDefaultCredentials() -> String { static func hasUpdatedDefaultCredentials() -> String {

Loading…
Cancel
Save