forked from organicmaps/organicmaps
[ios] Added open Safari on password recovery.
This commit is contained in:
parent
9bb2684816
commit
a3893744f0
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue