mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix openmptcprouter vps login
This commit is contained in:
parent
a1a7c39923
commit
d77382ac8c
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ _login() {
|
|||
[ -z "$auth" ] && return
|
||||
token="$(echo "$auth" | jsonfilter -q -e '@.access_token')"
|
||||
uci -q set openmptcprouter.${servername}.token="$token"
|
||||
[ -n "$token" ] && break
|
||||
}
|
||||
config_load openmptcprouter
|
||||
config_list_foreach ${servername} ip login_on_server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue