Changes for page Lua Script
Last modified by Devin Chen on 2025/11/10 16:04
From version 9.1
edited by xingzhi lin
on 2025/10/31 11:32
on 2025/10/31 11:32
Change comment:
There is no comment for this version
To version 8.1
edited by xingzhi lin
on 2025/10/31 11:07
on 2025/10/31 11:07
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -7902,6 +7902,7 @@ 7902 7902 7903 7903 == user_secure.usersecure_deleteInfo == 7904 7904 7905 + 7905 7905 **Prototype : **user_secure.usersecure_deleteInfo(username) 7906 7906 7907 7907 **Function: **Delete user information ... ... @@ -7922,6 +7922,7 @@ 7922 7922 7923 7923 == user_secure.usersecure_updatepermission == 7924 7924 7926 + 7925 7925 **Prototype : **user_secure.usersecure_updatepermission(username, permission) 7926 7926 7927 7927 **Function: **Modify permissions ... ... @@ -7963,47 +7963,11 @@ 7963 7963 ret, msg = user_secure.usersecure_login("user1", "123") 7964 7964 {{/code}} 7965 7965 7968 + 7966 7966 == user_secure.usersecure_logout == 7967 7967 7968 -**Prototype : **user_secure.usersecure_logout() 7969 - 7970 -**Function: **User logout 7971 - 7972 -**Return: ** 7973 - 7974 -* Failure: Returns nil 7975 - 7976 -**Example** 7977 - 7978 -{{code language="LUA"}} 7979 -ret, msg = user_secure.usersecure_logout 7980 -{{/code}} 7981 - 7982 7982 == user_secure.usersecure_updatepwd == 7983 7983 7984 -**Prototype : **user_secure.usersecure_updatepwd (username, old, pwd, supwd) 7985 - 7986 -**Function: **Modify password 7987 - 7988 -**Parameters**: 7989 - 7990 -* username (string): Username, 16 characters 7991 -* old (string): Old password, 8 characters 7992 -* ((( 7993 -pwd (string): New password, 8 characterssupwd (string): Confirm password, 8 characters 7994 -))) 7995 - 7996 -**Return: ** 7997 - 7998 -* Success: CRC encrypted data 7999 -* Failure: Returns nil 8000 - 8001 -**Example** 8002 - 8003 -{{code language="LUA"}} 8004 -user_secure.usersecure_updatepwd("user1","123","321","321") 8005 -{{/code}} 8006 - 8007 8007 = LuaChart = 8008 8008 8009 8009 == chart.setAlarmBtnSpacing ==