Auth screen: Hide forgot password button

Hide this button until the option is handled correctly
This commit is contained in:
giomfo
2016-03-15 17:50:12 +01:00
parent 112d2c4b6f
commit cf838de1bd
@@ -127,13 +127,15 @@
{
self.authType = MXKAuthenticationTypeRegister;
self.rightBarButtonItem.title = NSLocalizedStringFromTable(@"auth_login", @"Vector", nil);
self.forgotPasswordButton.hidden = YES;
// FIXME handle "Forgot password"
// self.forgotPasswordButton.hidden = YES;
}
else
{
self.authType = MXKAuthenticationTypeLogin;
self.rightBarButtonItem.title = NSLocalizedStringFromTable(@"auth_register", @"Vector", nil);
self.forgotPasswordButton.hidden = NO;
// FIXME handle "Forgot password"
// self.forgotPasswordButton.hidden = NO;
}
[self hideServerOptionsContainer:YES];