Skip to content

Commit c36eb6b

Browse files
authored
Merge pull request #820 from firebase/patch-1
Don't disable email entry if email is nil and new accounts are disabled
2 parents 2261dfd + 11665a5 commit c36eb6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EmailAuth/FirebaseEmailAuthUI/FUIPasswordSignInViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView
259259
cell.textField.delegate = self;
260260
if (indexPath.row == 0) {
261261
cell.label.text = FUILocalizedString(kStr_Email);
262-
cell.textField.enabled = NO;
262+
cell.textField.enabled = _email == nil;
263263
_emailField = cell.textField;
264264
_emailField.text = _email;
265265
_emailField.placeholder = FUILocalizedString(kStr_EnterYourEmail);

0 commit comments

Comments
 (0)