post-login hook: add the full user JSON serialized

Fixes #284
This commit is contained in:
Nicola Murino
2021-01-26 18:05:44 +01:00
parent 54321c5240
commit 46ab8f8d78
9 changed files with 107 additions and 127 deletions

View File

@@ -379,7 +379,7 @@ func TestOrderDirsToRemove(t *testing.T) {
}
func TestUserInvalidParams(t *testing.T) {
u := dataprovider.User{
u := &dataprovider.User{
Username: "username",
HomeDir: "invalid",
}