git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- change calling convention for Add slightly; if the Add function for
[plcapi.git]
/
PLC
/
Methods
/
UpdateKey.py
diff --git
a/PLC/Methods/UpdateKey.py
b/PLC/Methods/UpdateKey.py
index
58dfccb
..
db32663
100644
(file)
--- a/
PLC/Methods/UpdateKey.py
+++ b/
PLC/Methods/UpdateKey.py
@@
-20,8
+20,6
@@
class UpdateKey(Method):
roles = ['admin', 'pi', 'tech', 'user']
key_fields = dict(filter(can_update, Key.fields.items()))
- for field in key_fields.values():
- field.optional = True
accepts = [
PasswordAuth(),