Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49166

Custom login failure function

$
0
0

@rkreienbuehl wrote:

Hi

In my app I use custom authentication. This works great. The only problem is, that when a user enters wrong credentials, the in app browser is shown instead the failure function is called. How can I fix this issue?

the code looks like this:
Ionic.Auth.login('custom', authOptions, data)
.then(function () {
...
},
function () {
alert('Anmeldung fehlgeschlagen');
$scope.closeLogin();
});

Best regards
Roger

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49166

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>