This commit is contained in:
Dan Cech committed 2018-04-17 14:06:25 -04:00
1 parent d2eab2ff4c
commit 23f163e8cf
4 files changed
+20 -10

No files matched your search

+3
View File
@@ -1,6 +1,8 @@
package sqlstore
import (
"time"
"github.com/grafana/grafana/pkg/bus"
m "github.com/grafana/grafana/pkg/models"
)
@@ -107,6 +109,7 @@ func SetAuthInfo(cmd *m.SetAuthInfoCommand) error {
UserId: cmd.UserId,
AuthModule: cmd.AuthModule,
AuthId: cmd.AuthId,
Created: time.Now(),
}
_, err := sess.Insert(&authUser)