projects
/
project
/
luci2
/
ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65e6c59
)
luci2: wrap luci2.ui.crypt rpc call as LuCI2.ui.cryptPassword()
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 18 Sep 2013 11:21:39 +0000
(13:21 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 18 Sep 2013 11:21:39 +0000
(13:21 +0200)
luci2/htdocs/luci2/luci2.js
patch
|
blob
|
history
diff --git
a/luci2/htdocs/luci2/luci2.js
b/luci2/htdocs/luci2/luci2.js
index 4501181a0831e38be3883d3575f2b7a5e1f52171..745f9554449bca21dd299eb7bedbaf82060ccec8 100644
(file)
--- a/
luci2/htdocs/luci2/luci2.js
+++ b/
luci2/htdocs/luci2/luci2.js
@@
-1857,6
+1857,13
@@
function LuCI2()
return _luci2._login_deferred;
},
+ cryptPassword: _luci2.rpc.declare({
+ object: 'luci2.ui',
+ method: 'crypt',
+ params: [ 'data' ],
+ expect: { crypt: '' }
+ }),
+
_acl_merge_scope: function(acl_scope, scope)
{