Skip to content

Commit

Permalink
fix sign_out signal in Auth
Browse files Browse the repository at this point in the history
  • Loading branch information
fenix-hub committed Mar 25, 2023
1 parent bbaec50 commit a603d73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addons/supabase/Auth/auth.gd
Original file line number Diff line number Diff line change
Expand Up @@ -332,11 +332,10 @@ func _on_task_completed(task : AuthTask) -> void:
AuthTask.Task.INVITE:
user_invited.emit()
AuthTask.Task.LOGOUT:
signed_out.emit()
client = null
_auth = ""
_expires_in = 0

signed_out.emit()

# A timer used to listen through TCP on the redirect uri of the request
func _tcp_stream_timer() -> void:
Expand Down

0 comments on commit a603d73

Please sign in to comment.