User Tools

Site Tools


sysadminery:matrix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
sysadminery:matrix [2024/10/28 19:58] adamsysadminery:matrix [2024/10/31 03:17] (current) adam
Line 33: Line 33:
 username='@USERNAME:greyn.club' username='@USERNAME:greyn.club'
 echo $pw echo $pw
-token=$(curl -XPOST -d '{"type":"m.login.password", "user":"$username", "password":"'"$pw"'"}' "https://greyn.club:8448/_matrix/client/r0/login" | jq .access_token --raw-output)+token=$(curl -XPOST -d '{"type":"m.login.password", "user":"'"$username"'", "password":"'"$pw"'"}' "https://greyn.club:8448/_matrix/client/r0/login" | jq .access_token --raw-output)
 echo $token echo $token
 </code> </code>
sysadminery/matrix.1730145534.txt.gz · Last modified: 2024/10/28 19:58 by adam