mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-15 15:50:59 +00:00
1793a9b8b4
* node: encrypt outbound bearer token at rest * fix(nodes): keep bearer tokens encrypted throughout --------- Co-authored-by: n0ctal <293235942+n0ctal@users.noreply.github.com>
13 lines
238 B
Go
13 lines
238 B
Go
package main
|
|
|
|
import (
|
|
"strings"
|
|
"testing"
|
|
)
|
|
|
|
func TestCommandHelpListsEncryptTokens(t *testing.T) {
|
|
if help := commandHelp(); !strings.Contains(help, "encrypt-tokens") {
|
|
t.Fatalf("command help omits encrypt-tokens:\n%s", help)
|
|
}
|
|
}
|