Skip to content

Commit

Permalink
Set access_token and matrix_id on registration
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-russell committed May 23, 2024
1 parent 88924cb commit 959269d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fractal/cli/controllers/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ def register(
AuthController().login(
matrix_id, homeserver_url=homeserver_url, access_token=access_token
)
self.access_token = access_token
self.matrix_id = matrix_id

register.clicz_aliases = ["register"]

Expand All @@ -182,7 +184,7 @@ def token(
print(token)
return token
case "list":
print(f"FIXME: List not implemented yet.")
print("FIXME: List not implemented yet.")
case _:
print("Invalid action. Must be either 'create'")

Expand Down

0 comments on commit 959269d

Please sign in to comment.