diff --git a/iphone/Maps/Classes/CustomViews/Login/MWMAuthorizationOSMLoginViewController.mm b/iphone/Maps/Classes/CustomViews/Login/MWMAuthorizationOSMLoginViewController.mm index e17c589323..9fe60988dc 100644 --- a/iphone/Maps/Classes/CustomViews/Login/MWMAuthorizationOSMLoginViewController.mm +++ b/iphone/Maps/Classes/CustomViews/Login/MWMAuthorizationOSMLoginViewController.mm @@ -164,6 +164,13 @@ using namespace osm; [self.navigationController popViewControllerAnimated:YES]; } +- (IBAction)forgotPassword +{ + OsmOAuth const auth = OsmOAuth::ServerAuth(); + NSURL * url = [NSURL URLWithString:@(auth.GetResetPasswordURL().c_str())]; + [[UIApplication sharedApplication] openURL:url]; +} + #pragma mark - Properties - (void)setIsCorrect:(MWMFieldCorrect)isCorrect