aboutsummaryrefslogtreecommitdiffstats
path: root/phonegap/www
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-06-07 15:40:53 +0100
committerStruan Donald <struan@exo.org.uk>2012-06-07 15:40:53 +0100
commitc79ead4f3ce6cbe1cc8ea1fd30c7c1e8525d7784 (patch)
tree4edbcd3f35d0073fc98032de6c65969ecb0d3737 /phonegap/www
parent04532fa95810816249e13d62103ca55fd1f78470 (diff)
do not update user meta if we are logging out
Diffstat (limited to 'phonegap/www')
-rw-r--r--phonegap/www/js/mobile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/phonegap/www/js/mobile.js b/phonegap/www/js/mobile.js
index f99adeee5..0d939fe68 100644
--- a/phonegap/www/js/mobile.js
+++ b/phonegap/www/js/mobile.js
@@ -373,7 +373,7 @@ function sign_out_around() {
}
function check_auth() {
- if ( $('#user-meta').length ) {
+ if ( $('#user-meta').length && localStorage.signed_out != 1 ) {
var sign_out_function = sign_out;
if ( $('body').hasClass('mappage') ) {
sign_out_function = sign_out_around;