This commit is contained in:
Maarten den Braber committed 2020-05-19 20:04:23 +02:00
1 parent 5d2777634a
commit 63031fb278
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -94,6 +94,10 @@ _transip_rest() {
_transip_get_token() {
nonce=$(echo "TRANSIP$(_time)" | _digest sha1 hex)
nonce_old=$(openssl rand -hex 12)
nonce=${nonce:0:32}
_debug nonce "$nonce"
_debug nonce_old "$nonce_old"
data="{\"login\":\"${TRANSIP_Username}\",\"nonce\":\"${nonce}\",\"read_only\":\"${TRANSIP_Token_Read_Only}\",\"expiration_time\":\"${TRANSIP_Token_Expiration}\",\"label\":\"${TRANSIP_Token_Label}\",\"global_key\":\"${TRANSIP_Token_Global_Key}\"}"
_debug data "$data"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.