- commit
- fc3aae5
- parent
- d22ca60
- author
- Eric Bower
- date
- 2024-03-17 16:12:55 +0000 UTC
fix(ui): set user ctx after registering
1 files changed,
+1,
-0
+1,
-0
1@@ -42,6 +42,7 @@ func registerUser(apiConfig *shared.ApiConfig, ctx ssh.Context, pubkey ssh.Publi
2 }
3
4 picoApi := shared.NewUserApi(user, pubkey)
5+ shared.SetUserCtx(ctx, user)
6 err = json.NewEncoder(w).Encode(picoApi)
7 if err != nil {
8 logger.Error(err.Error())