Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetUser (0.13 sec)

  1. cmd/ftp-server-driver.go

    	}
    
    	ui, ok := globalIAMSys.GetUser(context.Background(), username)
    	if !ok {
    		return false, nil
    	}
    	return subtle.ConstantTimeCompare([]byte(ui.Credentials.SecretKey), []byte(password)) == 1, nil
    }
    
    func (driver *ftpDriver) getMinIOClient(ctx *ftp.Context) (*minio.Client, error) {
    	ui, ok := globalIAMSys.GetUser(context.Background(), ctx.Sess.LoginUser())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
Back to top