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

Remember: false not working

$
0
0

@thomas96 wrote:

So my users log in with the basic ionic cloud authentication. When I close the app and start it up again the user is still logged in if he didnt logout, which is fine, but I have a toggle button which sends a false boolean
<ion-toggle ng-model="user.remember" toggle-class="toggle-positive">Remember me</ion-toggle>
and should set the remember option in the login function to false
$ionicAuth.login('basic', details, {'remember': user.remember}).then(function () { ... but the user is still logged in.

I tried to google it but I only get solution to exactly the reverse issue :S

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49184

Trending Articles



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