The-Commit-Company / frappe-js-sdk

TypeScript/JavaScript library for Frappe REST API
MIT License
120 stars 43 forks source link

fix: allow sending device type during login #16

Closed Alchez closed 2 years ago

Alchez commented 2 years ago

For Frappe's versions 14 and lower, sending device=mobile during login allows users to avoid CORS issues when the server sets the session cookies.

This will require a different fix for v15+ after the changes made here.

nikkothari22 commented 2 years ago

Will push an update to npm tomorrow.