MISP / misp-dashboard

A live dashboard for a real-time overview of threat intelligence from MISP instances
GNU Affero General Public License v3.0
192 stars 66 forks source link

chg: [auth] conditionally send debug token #140

Closed VVX7 closed 4 years ago

VVX7 commented 4 years ago

post_data sent by misp_login() should only send a debug token when MISP is running in debug mode.

This commit changes the default behaviour to only send data[_Token][debug] when the value is matched in the MISP login page.

See https://github.com/MISP/misp-dashboard/issues/136#issue-515808069

adulau commented 4 years ago

Thank you!