Revision 4f5b5c91

View differences:

html/admin.js
116 116
				}
117 117
			});
118 118
			// Only check tokens if the mechanism is enabled
119
			if(json["auth_token"] !== "true") {
119
			if(!json["auth_token"]) {
120 120
				$('a[href=#tokens]').parent().addClass('disabled');
121 121
				$('a[href=#tokens]').attr('href', '#').unbind('click').click(function (e) { e.preventDefault(); return false; });
122 122
			} else {

Also available in: Unified diff