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
Next revision
Previous revision
sysadminery:matrix [2024/10/28 19:58] adamsysadminery:matrix [2025/06/07 07:05] (current) – external edit 127.0.0.1
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: by adam