grafana/pkg/services/temp_user
Kristin Laemmert dbb72f2c6e
fix: create temp user no longer sets ID to 0 for all users (#64149)
* fix: create temp user no longer sets ID to 0 for all users

The xorm tag added to the tempuser ID field caused xorm to create all temp users with ID 0. Removing that tag allows xorm to set the ID based on the database result instead. I also added a test which was failing before this.

Fixes #63995
2023-03-03 10:50:54 -05:00
..
tempuserimpl fix: create temp user no longer sets ID to 0 for all users (#64149) 2023-03-03 10:50:54 -05:00
model.go fix: create temp user no longer sets ID to 0 for all users (#64149) 2023-03-03 10:50:54 -05:00
temp_user.go Chore: Move tempuser model to tempuser package (#61024) 2023-01-06 09:02:05 +01:00