allow user to move secret between safes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-12 12:55:49 +11:00
parent a3333cebb6
commit 083fb0ebe1
3 changed files with 101 additions and 22 deletions

View File

@@ -280,6 +280,7 @@ func UserLdapNewLoginCheck(username string, password string) (User, error) {
return u, nil
}
/*
// StoreLdapUser creates a user record in the database and returns the corresponding userId
func StoreLdapUser(u *User) error {
@@ -287,6 +288,7 @@ func StoreLdapUser(u *User) error {
return nil
}
*/
func UserGetByID(uid uint) (User, error) {