diff options
author | Struan Donald <struan@exo.org.uk> | 2012-06-07 15:40:53 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-06-07 15:40:53 +0100 |
commit | c79ead4f3ce6cbe1cc8ea1fd30c7c1e8525d7784 (patch) | |
tree | 4edbcd3f35d0073fc98032de6c65969ecb0d3737 /phonegap/www | |
parent | 04532fa95810816249e13d62103ca55fd1f78470 (diff) |
do not update user meta if we are logging out
Diffstat (limited to 'phonegap/www')
-rw-r--r-- | phonegap/www/js/mobile.js | 2 |
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; |