Commit graph

4 commits

Author SHA1 Message Date
Shridhar Patil
abd3333bae Token based authentication (#5752)
* token based authentication

* authentication

Basic base64encode(api_key:api_secret)
token api_key:api_secret

* test added

Validation: only user with system manager can generate the keys

* codacy issues fixed

* token based authentication

* authentication

Basic base64encode(api_key:api_secret)
token api_key:api_secret

* test added

Validation: only user with system manager can generate the keys

* codacy issues fixed

* use frappe.safe_encode

* base64 encode use frappe.safe_encode

* set frappe.local.form_dict after setting user

* removed test

* removed unused imports

* test for python 3

* Update user.js

* [user.py] throw correct error

* Update user.py
2018-07-23 11:06:29 +05:30
Rushabh Mehta
d4fbbf6903 [test] dont run test_insert_many in travis 2017-07-12 12:57:35 +05:30
Rushabh Mehta
f91977f7da [feature] allow multiple sessions per user 2016-08-10 17:31:29 +05:30
Rushabh Mehta
512fc3a5c2 [feature] [api] frappe.client.insert_many 2016-08-09 11:09:31 +05:30