Borisdm
06/15/2022, 11:18 AMconst { user, error } = await supabase.auth.update({password: 'new password'})
is their a way to update another user's password? I belive the above function will update the logged in userNeedle
06/15/2022, 11:18 AMchipilov
06/15/2022, 11:28 AMauth.users
table OR create a server API which updates that field (i.e. the client can then call that server API). NOTE, that the value of the password field is a HASHED version of the password, which you can achieve in Go like this:chipilov
06/15/2022, 11:28 AMbcrypt.GenerateFromPassword([]byte("the_new_password"), bcrypt.DefaultCost)
Borisdm
06/15/2022, 1:26 PMBorisdm
06/15/2022, 1:45 PM